From e81521c2ddd9aba5ffee0a0c2f190e8764fd97e2 Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Thu, 9 Nov 2023 14:03:18 -0500 Subject: [PATCH] [StimulusBundle] Removing ux_controller_link_tags() mention for 6.4 --- src/StimulusBundle/doc/index.rst | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/src/StimulusBundle/doc/index.rst b/src/StimulusBundle/doc/index.rst index 6ab1720387d..46733faeceb 100644 --- a/src/StimulusBundle/doc/index.rst +++ b/src/StimulusBundle/doc/index.rst @@ -432,16 +432,10 @@ will import all your custom controllers as well as those from ``controllers.json It will also dynamically enable "debug" mode in Stimulus when your application is running in debug mode. -Finally, to output any ``autoimport`` CSS files in your ``controllers.json`` file, -include the ``ux_controller_link_tags()`` function in your base template: - -.. code-block:: html+twig - - {% block stylesheets %} - {{ ux_controller_link_tags() }} +.. tip:: - - {% endblock %} + For AssetMapper 6.3 only, you also need a ``{{ ux_controller_link_tags() }`` + in ``base.html.twig``. This is not needed in AssetMapper 6.4+. How are the Stimulus Controllers Loaded? ----------------------------------------