RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

The 3 Vite plugins I use on every new Rails project

I’ve completely switched away from Sprockets and Webpacker and am using Vite for my current Rails projects. One thing I’ve discovered is that while the default Vite-Rails installation is nice, it is not very opinionated. I always end up adding these three plugins on top of the standard Vite-Rails config: autoprefixer, rollup-plugin-gzip, and vite-plugin-full-reload. Here’s how to set them up: https://mattbrictson.com/blog/3-vite-rails-plugins

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in