Integrates Stimulus with the rails asset pipeline.
A modest JavaScript framework for the HTML you already have.
Add this line to your application's Gemfile:
gem "stimulus-rails"
And then execute:
$ bundle
To import all assets in your Rails project, add the following line to your application.js:
//= require stimulus
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request