{"id":15692077,"url":"https://github.com/bricesanchez/stimulusjs-rails","last_synced_at":"2025-05-07T23:43:40.742Z","repository":{"id":59156500,"uuid":"124720787","full_name":"bricesanchez/stimulusjs-rails","owner":"bricesanchez","description":"A simple asset-pipeline wrapper for Stimulus.js by Brice Sanchez","archived":false,"fork":false,"pushed_at":"2019-04-15T14:18:28.000Z","size":30,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-07T23:43:36.193Z","etag":null,"topics":["es6","rails","sprockets","stimulusjs"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bricesanchez.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-11T03:46:02.000Z","updated_at":"2020-06-22T20:43:07.000Z","dependencies_parsed_at":"2022-09-13T20:11:14.651Z","dependency_job_id":null,"html_url":"https://github.com/bricesanchez/stimulusjs-rails","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bricesanchez%2Fstimulusjs-rails","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bricesanchez%2Fstimulusjs-rails/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bricesanchez%2Fstimulusjs-rails/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bricesanchez%2Fstimulusjs-rails/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bricesanchez","download_url":"https://codeload.github.com/bricesanchez/stimulusjs-rails/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252973617,"owners_count":21834105,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["es6","rails","sprockets","stimulusjs"],"created_at":"2024-10-03T18:28:46.638Z","updated_at":"2025-05-07T23:43:40.723Z","avatar_url":"https://github.com/bricesanchez.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# stimulusjs-rails\n\n[![Gem](https://img.shields.io/gem/v/stimulusjs-rails.svg)](https://rubygems.org/gems/stimulusjs-rails)\n[![Gem](https://img.shields.io/gem/dt/stimulusjs-rails.svg)](https://rubygems.org/gems/stimulusjs-rails)\n\n## About\n\nRails 4.2+ asset-pipeline gem to provide Stimulus.js\n\n## Package Versions\n\n- Stimulus 1.1.1\n- Stimulus 1.0.1\n\n## Setup\n\nHave in your `Gemfile`:\n\n```ruby\ngem 'stimulusjs-rails', '~\u003e 1.1.1'\n```\n\nAnd in your `application.js` manifest:\n\n```js\n//= require stimulus\n\nwindow.application = Stimulus.Application.start()\n```\n\n## Example\n\nAdd in your `application.js`\n\n```js\n//= require controllers/hello_controller\n```\n\nand in `controllers/hello_controller.es6`\n\n```js\nwindow.application.register('hello', class extends Stimulus.Controller {\n  static get targets() {\n    return [ \"name\" ]\n  }\n\n  // …\n})\n```\n\n## Tips\n\nSee this for Sprocket + ES6 support: https://github.com/rails/sprockets#es6-support\n\n## Contributing\n\nContributions are welcome, please follow [GitHub Flow](https://guides.github.com/introduction/flow/index.html)\n\n## License\n\n[MIT](LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbricesanchez%2Fstimulusjs-rails","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbricesanchez%2Fstimulusjs-rails","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbricesanchez%2Fstimulusjs-rails/lists"}