We've moved discussions to Discord

Stimulus generator breaks JSP

Matthias Orgler •
It seems that rails g stimulus my_controller breaks Jumpstart Pro. For me it completely overrode the controllers/index.js with imports for each existing stimulus controller file.

Can we use the stimulus generator with JSP or should we just create the controllers manually?
Chris Oliver •
The Stimulus generator is probably designed for importmaps which need to manually register each controller. That's more an issue with Stimulus-rails and not JSP.

We don't need that because of the esbuild-rails package. I just create my stimulus controllers manually by copying the class line from another one. 
Notifications
You’re not receiving notifications from this thread.