Skip to content

HonuLife/rails-turbo-vue-experiments

 
 

Repository files navigation

CI

Rails + Vue

A starter for working with Rails 7 + Vue 3.

Features

Dev

Setup

bin/setup

Run app:

bin/dev

Run tests:

Rails tests (including system/e2e tests)

rspec

Frontend (unit and component tests with Vitest)

yarn test

Generate a new scaffold with and have the views styled with TailwindCSS

rails g scaffold
# Ex. rails g scaffold animal name:string species:string age_years:integer

Generate a view that will mount a Vue.js component

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.

Details

Versions of key dependencies:

  • Vue@3.3.4
  • rails@7.0.6.0
  • vite@4.3.3

About

Experimenting with changes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 64.0%
  • Vue 15.4%
  • HTML 13.0%
  • TypeScript 6.5%
  • JavaScript 0.6%
  • Shell 0.4%
  • CSS 0.1%