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

@@ -0,0 +1,4 @@
// This controller will be called "example-component--example", ie "component-subdirectory--js-file-name"
import { Controller } from "stimulus";
export default class extends Controller {}