ランキングに戻る

ElMassimo/vite_ruby

Rubyvite-ruby.netlify.app

⚡️ Vite.js in Ruby, bringing joy to your JavaScript experience

vitejsviterailsrubyfrontend-toolingintegrationpluginrackhanami
スター成長
スター
1.6k
フォーク
146
週間成長
Issue
36
5001k1.5k
2021年1月2022年11月2024年9月2026年7月
成果物RubyGemsgem 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.

関連リポジトリ
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