Add example of component stimulus controller naming convention

This commit is contained in:
Gaetan Craig-Riou
2025-03-12 15:11:22 +11:00
parent 3585499fba
commit d6ed536eb7
2 changed files with 7 additions and 1 deletions

View File

@@ -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}