Vite Rails
Bring joy to your frontend experience in Rails
Used 128 times
M
Maximo Mussini
Usage
Vite Rails is a library that provides full Vite integration in Rails.
Manual installation instructions are available in the documentation website, as well as guides and a configuration reference.
Run this command in your Rails app directory in the terminal:
rails app:template LOCATION="https://railsbytes.com/script/XE5sO3"
Template Source
Review the code before running this template on your machine.
run "spring stop"
gem "vite_rails"
Bundler.with_unbundled_env { run "bundle install" }
run "bundle exec vite install"
run "echo 'Visit https://vite-ruby.netlify.app/guide/ and follow the instructions'"