0.0.2 • Published 3 years ago

vite_rails v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Viter

Rails Frontend Develop suit Make you so happy Use Vite, Inspired by webpacker, But more powerful:

  • for Engine develop: you can import assets files under app/assets
  • You can put js or css files under app/views, same name as action, which will load automatically.

How to Use

  • Install
    • Add gem 'viter' to you gemfile, then bundle it;
    • Run yarn add https://github.com/qinmingyuan/viter add viter to package.json
  • In Production
    • 编译 Asset:env RAILS_ENV=production rake viter:compile
  1. Enjoy it;

License

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

0.0.2

3 years ago

0.0.1

3 years ago