bundle exec rails stimulus_reflex:install
gave me this error,
rails aborted! Don't know how to build task 'stimulus_reflex:install'
why?
(Commands in sequence...
rails new --skip-spring --webpack=stimulus chatter
yarn add redis cable_ready stimulus_reflex
bundle exec rails stimulus_reflex:install
rails aborted! Don't know how to build task 'stimulus_reflex:install'
Stimulus Reflex has a server and a client part. With yarn you only add the client part. You need to install
stimulus_reflex
by adding it to yourGemfile
or runningbundle add stimulus_reflex
The docs explain how to set it up nicely: https://docs.stimulusreflex.com/setup