ElMassimo / vite_ruby
ā”ļø Vite.js in Ruby, bringing joy to your JavaScript experience
AI Architecture Analysis
This repository is indexed by RepoMind. By analyzing ElMassimo/vite_ruby in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.
Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.
Repository Overview (README excerpt)
Crawler viewVite Ruby [website]: https://vite-ruby.netlify.app/ [configuration reference]: https://vite-ruby.netlify.app/config/ [features]: https://vite-ruby.netlify.app/guide/introduction.html [guides]: https://vite-ruby.netlify.app/guide/ [config]: https://vite-ruby.netlify.app/config/ [webpacker]: https://github.com/rails/webpacker [vite]: http://vitejs.dev/ [config file]: https://github.com/ElMassimo/vite_ruby/blob/main/vite-plugin-ruby/default.vite.json [example app]: https://github.com/ElMassimo/pingcrm-vite [heroku]: https://pingcrm-vite.herokuapp.com/ [Issues]: https://github.com/ElMassimo/vite_ruby/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc [Discussions]: https://github.com/ElMassimo/vite_ruby/discussions [vite_rails]: https://github.com/ElMassimo/vite_ruby/tree/main/vite_rails [vite_ruby]: https://github.com/ElMassimo/vite_ruby/tree/main/vite_ruby [vite_hanami]: https://github.com/ElMassimo/vite_ruby/tree/main/vite_hanami [no bundling]: https://vitejs.dev/guide/why.html#the-problems [bundling]: https://vitejs.dev/guide/why.html#slow-updates [Vite] is to frontend tooling as Ruby to programming, pure joy! š This repo contains libraries that will allow you to easily integrate Vite in your favourite Ruby framework, such as [Rails][vite_rails] or [Hanami][vite_hanami]. Why Vite? š¤ Vite [does not bundle your code during development][no bundling], which means the dev server is extremely __fast to start__, and your changes will be __updated instantly__. In production, Vite [bundles your code][bundling] with tree-shaking, lazy-loading, and common chunk splitting out of the box, to achieve optimal loading performance. It also provides great defaults, and is easier to configure than similar tools like webpack. Features ā”ļø ā¢ š” Instant server start ⢠ā”ļø Blazing fast hot reload ⢠š Zero-config deployments ⢠š¤ Integrated with assets:precompile ⢠[And more!][features] Documentation š Visit the [documentation website][website] to check out the [guides] and searchable [configuration reference]. Installation šæ Add this line to your application's Gemfile: Then, run: This will generate configuration files and a sample setup. Additional installation instructions are available in the [documentation website][website]. Getting Started š» Restart your web server, and then run bin/vite dev to start the Vite development server. Visit any page and you should see a printed console output: . For more [guides] and a full [configuration reference], check the [documentation website][website]. Contact āļø Please use [Issues] to report bugs you find, and [Discussions] to make feature requests or get help. Don't hesitate to _āļø star the project_ if you find it useful! Using it in production? Always love to hear about it! š Special Thanks š ⢠[webpacker] ⢠[vite] License The gem is available as open source under the terms of the MIT License.