Back to rankings

ElMassimo/vite_ruby

Rubyvite-ruby.netlify.app

โšก๏ธ Vite.js in Ruby, bringing joy to your JavaScript experience

vitejsviterailsrubyfrontend-toolingintegrationpluginrackhanami
Star Growth
Stars
1.6k
Forks
146
Weekly Growth
โ€”
Issues
36
5001k1.5k
Jan 2021Nov 2022Sep 2024Jul 2026
ArtifactsRubyGemsgem install vite_ruby
README


Vite Ruby

Build Status Maintainability Test Coverage License

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 or Hanami.

Why Vite? ๐Ÿค”

Vite does not bundle your code during development, which means the dev server is extremely fast to start, and your changes will be updated instantly.

In production, Vite bundles your code 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!

Documentation ๐Ÿ“–

Visit the documentation website to check out the guides and searchable configuration reference.

Installation ๐Ÿ’ฟ

Add this line to your application's Gemfile:

gem 'vite_rails' # vite_hanami for Hanami apps, vite_ruby for Rack apps

Then, run:

bundle install
bundle exec vite install

This will generate configuration files and a sample setup.

Additional installation instructions are available in the documentation 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: Vite โšก๏ธ Ruby.

For more guides and a full configuration reference, check the documentation 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 ๐Ÿ™

License

The gem is available as open source under the terms of the MIT License.

Related repositories
vitejs/awesome-vite

โšก๏ธ A curated list of awesome things related to Vite.js

JavaScriptnpmMIT Licenseawesomeawesome-list
vite.dev
17.2k1.3k
vikejs/vike

(Replaces Next.js/Nuxt) ๐Ÿ”จ Build mission-critical applications with stability and development freedom.

TypeScriptnpmMIT Licensevitevite-plugin
vike.dev
5.8k395
troisjs/trois

โœจ ThreeJS + VueJS 3 + ViteJS โšก

TypeScriptnpmMIT Licensevuejs3vitejs
troisjs.github.io
4.5k335
cruip/tailwind-landing-page-template

Simple Light is a free landing page template built on top of TailwindCSS and fully coded in React / Next.js. Made by

TypeScriptnpmtailwindcssreact
cruip.com
4.5k1.7k
graphif/project-graph

A node-based visual tool for organizing thoughts and notes in a non-linear way.

TypeScriptnpmreactjsreactjs-project
graphif.dev
4.2k272
crxjs/chrome-extension-tools

Build cross-browser extensions with native HMR and zero-config setup

TypeScriptnpmchrome-extensiontypescript
crxjs.dev
4.1k243
histoire-dev/histoire

โšก Fast and beautiful interactive component playgrounds, powered by Vite

TypeScriptnpmMIT Licensejavascriptstory
histoire.dev
3.6k211
tajo/ladle

๐Ÿฅ„ Develop, test and document your React story components faster.

TypeScriptnpmMIT Licenseplaygroundreact
ladle.dev
3k120
apptension/saas-boilerplate

SaaS Boilerplate - Open Source and free SaaS stack that lets you build SaaS products faster in React, Django and AWS. Focus on essential business logic instead of coding repeatable features!

TypeScriptnpmMIT Licensecdkstack
apptension.com/saas-boilerplate
2.9k415
cruip/tailwind-dashboard-template

Mosaic Lite is a free admin dashboard template built on top of Tailwind CSS and fully coded in React. Made by

JavaScriptnpmreactreactjs
cruip.com
2.8k763
justboil/admin-one-vue-tailwind

Free Vue.js 3.x Tailwind 4.x admin dashboard template with dark mode. Vite builds. Pinia state. Laravel integration available

VueMIT Licensetailwindcsstailwind
justboil.github.io/admin-one-vue-tailwind/
2.5k443
abhijithvijayan/web-extension-starter

๐Ÿ–ฅ๐Ÿ”‹Web Extension starter to build "Write Once Run on Any Browser" extension

TypeScriptnpmMIT Licenseweb-extensionsweb-extension-starter
2.2k177