Install Stimulus.js on Rails
Just run this in the project:
bundle exec rails webpacker:install:stimulusAnd you should already have this in the application layout head:
<%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %>that's it!
Last updated