Skip to content

Commit 30dbbce

Browse files
committed
Making it more obvious how to add extra stimulus controllers
1 parent 4165f3f commit 30dbbce

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

symfony/webpack-encore-bundle/1.0/assets/bootstrap.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@ export const app = startStimulusApp(require.context(
66
true,
77
/\.(j|t)sx?$/
88
));
9+
10+
// register any custom, 3rd party controllers here
11+
// app.register('some_controller_name', SomeImportedController);

0 commit comments

Comments
 (0)