Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not find generator 'stimulus_reflex:initializer' #706

Open
dulayaustin opened this issue May 22, 2024 · 0 comments
Open

Could not find generator 'stimulus_reflex:initializer' #706

dulayaustin opened this issue May 22, 2024 · 0 comments

Comments

@dulayaustin
Copy link

dulayaustin commented May 22, 2024

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

> 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]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant