An open API service indexing awesome lists of open source software.

https://github.com/paxa/stimulus-rails


https://github.com/paxa/stimulus-rails

Last synced: over 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# stimulus-rails

# DEPRECATED

Please use https://github.com/hotwired/stimulus-rails

If you still depend on this gem - install from github
```
gem 'stimulus-rails', github: 'Paxa/stimulus-rails'
```

---

Integrates [Stimulus](https://stimulusjs.org/) 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:
```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