You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a new rails app with esbuild js bundler and install stimulus_reflex via Manual Configuration describe on the docs.
However I found out the theres no stimulus_reflex:initializer on rails generator anymore.
To Reproduce
rails g stimulus_reflex:initializer
Expected behavior
It should generate config/initializers/stimulus_reflex.rb.
Much better if app/javascript/controllers/application_controller.js will be generated as well upon initialize.
Screenshots or reproduction
> rails g stimulus_reflex:initializer
Could not find generator 'stimulus_reflex:initializer'. (Rails::Command::CorrectableNameError)
Did you mean? stimulus_reflex
Run `bin/rails generate --help` for more options.
Versions
StimulusReflex
Gem: [3.5.1]
Node package: [3.5.1]
External tools
Ruby: [3.3.0]
Rails: [7.1.3.2]
Node: [21.7.1]
The text was updated successfully, but these errors were encountered:
Bug Report
Describe the bug
I have a new rails app with esbuild js bundler and install stimulus_reflex via Manual Configuration describe on the docs.
However I found out the theres no
stimulus_reflex:initializer
on rails generator anymore.To Reproduce
rails g stimulus_reflex:initializer
Expected behavior
It should generate
config/initializers/stimulus_reflex.rb
.Much better if
app/javascript/controllers/application_controller.js
will be generated as well upon initialize.Screenshots or reproduction
Versions
StimulusReflex
External tools
The text was updated successfully, but these errors were encountered: