What is Vite Ruby?
mainVite Ruby is an umbrella project that provides full Vite.js integration for Ruby web applications. It bridges the gap between Vite's modern frontend tooling and Ruby's web conventions.
It consists of several components depending on your framework:
vite_rails: Provides functionality similar towebpackerfor Rails applications, but with significantly less configuration overhead.vite_ruby: The core package for plain Rack applications when using HTML entrypoints.- Framework-specific integrations: Includes support for Hanami, Padrino, and Jekyll.
By using Vite Ruby, you get the benefits of Vite (fast dev server, instant HMR, and optimized production bundling) while following standard Ruby application structures.