Vuejs::Rails::Wrapper
A simple way to add Vue.js in your rails project.No need of webpacker. Just add this gem in your project and work on vue without webpacker.
Installation
Add this line to your application's Gemfile:
gem 'vuejs-rails-wrapper'
And then execute:
$ bundle
Or install it yourself as:
$ gem install vuejs-rails-wrapper
After that add this line in your assests/javascripts/application.js
//= require vue
Usage
Just start working on vue by creating vue instance. Simple!!!
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request