https://github.com/paxa/stimulus-rails
https://github.com/paxa/stimulus-rails
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/paxa/stimulus-rails
- Owner: Paxa
- Created: 2018-05-13T09:29:10.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2020-12-23T15:54:55.000Z (over 5 years ago)
- Last Synced: 2025-04-12T18:12:13.657Z (over 1 year ago)
- Language: JavaScript
- Size: 18.6 KB
- Stars: 8
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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