Vue with Inertia
Rails template with Vue.js and Inertia.js
Used 25 times
B
Bilal Budhani
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