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.
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 ifapp/javascript/controllers/application_controller.js
will be generated as well upon initialize.Screenshots or reproduction
Versions
StimulusReflex
External tools