We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ced15b6 + ae16887 commit 4f420d6Copy full SHA for 4f420d6
src/StimulusBundle/doc/index.rst
@@ -430,6 +430,17 @@ will import all your custom controllers as well as those from ``controllers.json
430
It will also dynamically enable "debug" mode in Stimulus when your application
431
is running in debug mode.
432
433
+Finally, to output any ``autoimport`` CSS files in your ``controllers.json`` file,
434
+include the ``ux_controller_link_tags()`` function in your base template:
435
+
436
+.. code-block:: html+twig
437
438
+ {% block stylesheets %}
439
+ {{ ux_controller_link_tags() }}
440
441
+ <!-- ... -->
442
+ {% endblock %}
443
444
How are the Stimulus Controllers Loaded?
445
----------------------------------------
446
0 commit comments