mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Add example of component stimulus controller naming convention
This commit is contained in:
@@ -1 +1,3 @@
|
||||
%h1 #{@title}
|
||||
- # the stimulus contoller "example-component--example" lives in app/component/example_component/example_controller.js
|
||||
%div{ "data-controller": "example-component--example"}
|
||||
%h1 #{@title}
|
||||
|
||||
Reference in New Issue
Block a user