Vue with Inertia
Rails template with Vue.js and Inertia.js
Used 122 times
Usage
Run this command in your Rails app directory in the terminal:
rails app:template LOCATION="https://railsbytes.com/script/z5OsYq"
Template Source
Review the code before running this template on your machine.
gem 'inertia_rails' gem 'webpacker' if !defined?(Webpacker) after_bundle do rails_command 'webpacker:install' rails_command 'webpacker:install:vue' run 'yarn add @inertiajs/inertia @inertiajs/inertia-vue' end