Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 653 Bytes

README.md

File metadata and controls

30 lines (19 loc) · 653 Bytes

stimulus-rails

Integrates Stimulus with the rails asset pipeline.

A modest JavaScript framework for the HTML you already have.

Installation

Add this line to your application's Gemfile:

gem "stimulus-rails"

And then execute:

$ bundle

Usage

To import all assets in your Rails project, add the following line to your application.js:

//= require stimulus

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request