Skip to main content

integrating stimulus with ruby on rails

Ruby • Asked by David Brown
6e1168e83cf5aff59f35df8d78601974

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?


Ce795239ba5dd2384fc2f88ffaff5451

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.

Subscribe to the newsletter

Join 18,000+ developers who get early access to new screencasts, articles, guides, updates, and more.

By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

More of a social being? We're also on Twitter and YouTube.