Skip to main content
  • Book
  • © 2019

Vue on Rails

End-to-End Guide to Building Web Apps Using Vue.js and Rails

Apress
  • First complete end-to-end solution using Vue.js and Ruby on Rails
  • Combines emphasis on key principles of modern web development with pragmatic code tutorial and practical lessons
  • Teaches the reader how to save hundreds of hours integrating Vue and Rails via webpacker

Buy it now

Buying options

eBook USD 34.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 44.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (8 chapters)

  1. Front Matter

    Pages i-xv
  2. Start Your Engines – The Technology

    1. Front Matter

      Pages 1-1
    2. Introduction

      • Bryan Lim, Richard LaFranchi
      Pages 3-18
    3. Nuts and Bolts of Vue on Rails

      • Bryan Lim, Richard LaFranchi
      Pages 19-40
    4. Model, Vue, and Controller

      • Bryan Lim, Richard LaFranchi
      Pages 41-79
  3. Hands on the Wheels – Tutorials

    1. Front Matter

      Pages 81-81
    2. Real-World Applications Through Short Tutorials

      • Bryan Lim, Richard LaFranchi
      Pages 83-113
    3. Making a Real-Time Two-Player Game with Action Cable

      • Bryan Lim, Richard LaFranchi
      Pages 115-133
    4. Building an Image-Cropping Tool with Vue and Active Storage

      • Bryan Lim, Richard LaFranchi
      Pages 135-151
  4. Turbo Charge – Production Ready

    1. Front Matter

      Pages 153-153
    2. Testing, Deployment, and Troubleshooting

      • Bryan Lim, Richard LaFranchi
      Pages 155-182
    3. Conclusion – Finishing the Race

      • Bryan Lim, Richard LaFranchi
      Pages 183-186
  5. Back Matter

    Pages 187-193

About this book

Build modern and progressive web applications with Vue.js and Ruby on Rails. As the Rails community embraces JavaScript, this book answers your most pressing questions, including how to integrate front-end technologies with Rails, whether to build a single-page application, when and how to use JavaScript in your project, how to scaffold a Vue component in Rails, and how to configure Vue.js in a Rails project.

This book explores how to manage and understand priorities when working with Vue on Rails and how to determine the best configuration for your project. You'll see how to reuse your Vue components in a Rails project with less coding and harness the component options, as well as how to use props, events and slots of Vue components. You'll also use webpacker to set up your project and pass data from your Vue component to a Rails controller and back. Finally, you’ll learn which is the best configuration for the router and how to test and deploy your application.
These topics are essential for developers and product owners because they cover end-to-end advice for building a web application incrementally or from scratch. Vue.js on Rails shows you just how easy it is to build and maintain a modern web app and save hundreds of hours integrating these two technologies.  

What You'll Learn

  • Use Vue and Rails together to improve products
  • Build a web app with a focus on developer happiness
  • Take a pragmatic approach to web app development with practical code examples 
  • Save time configuring Vue and Rails
  • Control and manage states in a Vue on Rails project 

Who This Book Is For

Product owners seeking a technology for a company’s products with an emphasis on development scalability; business owners looking to maximize developer satisfaction and successful productdevelopment; technical managers requiring a pragmatic and successful web app development strategy;and new and experienced developers and designers learning to build web apps using the best tools available.



Authors and Affiliations

  • Singapore, Singapore

    Bryan Lim

  • Boulder, USA

    Richard LaFranchi

About the authors

Bryan Lim has been a Rails developer since 2009. He is one of the contributors to Rails’ webpacker project. He has a bachelor’s degree in Computing and a master’s degree in Business Analytics from National University of Singapore. He runs a small software consultancy firm and is based in Singapore. Some of his work can be found on his GitHub (@ytbryan).

Richard LaFranchi is a Senior Software Engineer at Charter Communication and works on internal testing tools for the organization. He has a bachelor’s degree in Civil Engineering from University of Colorado, Boulder and is currently pursuing a master’s in Computer Science at Colorado State University. He first developed a passion for web development in 2011, and he publishes many Vue/Rails open source tutorials and projects on his GitHub (@rlafranchi).

Bibliographic Information

  • Book Title: Vue on Rails

  • Book Subtitle: End-to-End Guide to Building Web Apps Using Vue.js and Rails

  • Authors: Bryan Lim, Richard LaFranchi

  • DOI: https://doi.org/10.1007/978-1-4842-5116-4

  • Publisher: Apress Berkeley, CA

  • eBook Packages: Professional and Applied Computing, Apress Access Books, Professional and Applied Computing (R0)

  • Copyright Information: Bryan Lim and Richard LaFranchi 2019

  • Softcover ISBN: 978-1-4842-5115-7Published: 30 August 2019

  • eBook ISBN: 978-1-4842-5116-4Published: 29 August 2019

  • Edition Number: 1

  • Number of Pages: XV, 193

  • Number of Illustrations: 21 b/w illustrations

  • Topics: Web Development

Buy it now

Buying options

eBook USD 34.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 44.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access