avo
avo copied to clipboard
Include stimulus to custom page
Context
I create customer page (html, route, action controller) and i want to connect stimulus controller to my custom page but it does not work. How can i include stimulus controller to customer page
System configuration
Avo version: 2.10.2
Rails version: 7.0.3.1
Ruby version: 3.1.2
License type (Community or Pro): COM
Screenshots

You need to add that JS controller on the page with a custom asset pipeline. It sounds more advanced than it is.
It's adding the JS javascript_include_tag to your _head.html.erb partial (which you eject from Avo with bin/rails generate avo:eject :head.
More on that here.
This issue has been marked as stale because there was no activity for the past 15 days.
Closing this because there was no activity for the past 15 days. Feel free to reopen if new information pops up ✌️