Stimulus Discourse

How to install stimulus 2.0 preview release?

hello friends,

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.

chrs

Ben

In your package.json change the line stimulus to:

"stimulus": "https://github.com/stimulusjs/dev-builds/archive/b8cc8c4/stimulus.tar.gz"

Then ‘yarn install’ or ‘yarn upgrade-interactive’

3 Likes