I have currently installed stable version of stimulus using an installer in the webpacker gem.
But I want to try out stimulus 2.0 - but I don’t know how to install it. Would any of you have any ideas on how this can be done?
any pointers would be appreciated.
In your package.json change the line stimulus to:
Then ‘yarn install’ or ‘yarn upgrade-interactive’
For the benefit of those who read this post in the future::
If you want to upgrade to the latest released version, after using the stimulus 2.0 preview release:
yarn upgrade email@example.com
And you should be off to the races. There is no need to directly use the preview release anymore.