A starter for working with Rails 7 + Vue 3.
- ✅ Lazy loading of Vue components on pages where you want to use it
- ✅ TypeScript (optional) support
- ✅ TailwindCSS
- ✅ Vite for frontend assets via Vite Ruby
- ✅ Navigation handled with TurboDrive
- ✅ System tests driven by RSpec + Capybara + Playwright
spec/system/pandas/index_spec.rb
can be a helpful example- Ruby Playwright - Page API
- ✅ Custom generator for creating a view that loads a Vue component:
rails g view_with_vue index|show|edit|create ROUTE_PATH
. See more details below - ✅ GitHub actions workflow for running Vitest and Rspec tests
bin/setup
bin/dev
rspec
yarn test
rails g scaffold
# Ex. rails g scaffold animal name:string species:string age_years:integer
rails generate view_with_vue index|show|edit|create ROUTE_PATH
# Ex. rails g view_with_vue edit animals/llamas will create the route /animals/llamas/:id/edit with a Vue component that loads on the view for that route.