Easy example for the Stimulus controller. From:
https://stimulusjs.org/handbook/introduction
webpack
node.js
yarn, a replacement for the npm, to add node modules to Rails
gem 'webpacker'
brew install yarn
brew install node
sudo chown -R $USER /usr/local
brew link node
rails webpacker:install
-
hello
-
clipboard
-
slideshow