Skip to main content

integrating stimulus with ruby on rails

Ruby • Asked by David Brown

Fallback

Where does the Stimulus team recommend as best practice to put the JS controller files? For example, if I wanted to integrate a version of this walkthrough into an existing rails app?


Fallback

app/javascript/controllers

It creates an example controller in there when you install stimulus with webpacker. rails webpacker:install:stimulus


Login or create an account to join the conversation.