0%

Book Description

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 product development; 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.

Table of Contents

  1. Cover
  2. Front Matter
  3. Part I. Start Your Engines – The Technology
    1. 1. Introduction
    2. 2. Nuts and Bolts of Vue on Rails
    3. 3. Model, Vue, and Controller
  4. Part II. Hands on the Wheels – Tutorials
    1. 4. Real-World Applications Through Short Tutorials
    2. 5. Making a Real-Time Two-Player Game with Action Cable
    3. 6. Building an Image-Cropping Tool with Vue and Active Storage
  5. Part III. Turbo Charge – Production Ready
    1. 7. Testing, Deployment, and Troubleshooting
    2. 8. Conclusion – Finishing the Race
  6. Back Matter
18.222.162.242