In retrospect, I should have done the stimulus installation in another branch. It was essentially just running rails webpacker:install:stimulus. It creates the controller files and add the import to application.js
This should behave the same, but be a bit more organized and work a better with turbolinks.
In retrospect, I should have done the stimulus installation in another branch. It was essentially just running
rails webpacker:install:stimulus
. It creates the controller files and add the import toapplication.js
This should behave the same, but be a bit more organized and work a better with turbolinks.