You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ux.symfony.com/src/Model/RecipeFileTree.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ public function __construct()
23
23
->addFile('assets/app.js', 'Your main JavaScript file. It\'s job is to import and load all other files.')
24
24
->addFile('assets/controllers.json', 'Configures 3rd-party Stimulus controllers. This file is automatically updated when you install a UX package.')
25
25
->addDirectory('assets/controllers', 'The home of your custom Stimulus controllers!')
26
-
->addFile('assets/controllers/hello_controller.js', 'An example controller. Add it to any element with <code class="text-nowrap">{{ stimulus_controller(\'hello\') }}</code>')
26
+
->addFile('assets/controllers/hello_controller.js', 'An example controller. Add it to any element with <code class="text-nowrap">data-controller="hello"</code>')
27
27
->addDirectory('assets/styles')
28
28
->addFile('assets/styles/app.css', 'Your main CSS file')
29
29
->addFile('package.json', 'Holds your node dependencies, most importantly Stimulus & Webpack Encore.')
0 commit comments