Skip to content

Commit e81521c

Browse files
committed
[StimulusBundle] Removing ux_controller_link_tags() mention for 6.4
1 parent d4e3f0a commit e81521c

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

src/StimulusBundle/doc/index.rst

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -432,16 +432,10 @@ will import all your custom controllers as well as those from ``controllers.json
432432
It will also dynamically enable "debug" mode in Stimulus when your application
433433
is running in debug mode.
434434

435-
Finally, to output any ``autoimport`` CSS files in your ``controllers.json`` file,
436-
include the ``ux_controller_link_tags()`` function in your base template:
437-
438-
.. code-block:: html+twig
439-
440-
{% block stylesheets %}
441-
{{ ux_controller_link_tags() }}
435+
.. tip::
442436

443-
<!-- ... -->
444-
{% endblock %}
437+
For AssetMapper 6.3 only, you also need a ``{{ ux_controller_link_tags() }``
438+
in ``base.html.twig``. This is not needed in AssetMapper 6.4+.
445439

446440
How are the Stimulus Controllers Loaded?
447441
----------------------------------------

0 commit comments

Comments
 (0)