Vite ⚡️ Rails

This app is an example using vite_rails to manage assets with Vite.

A live demo is running on Heroku.

Installation 💿

If using Docker, run bin/docker_setup to build the images and create the db.

Alternatively, you can run:

  • bundle install: Install the ruby gems
  • yarn install: Install the npm packages
  • bin/rake db:create db:migrate: Create the database and tables

Development 🚀

If using Docker, run bin/docker to start the services.

Alternatively, you can run:

  • bin/rails s: Starts the Rails dev server
  • bin/vite dev: Starts the Vite.js dev server