Skip to content

Commit

Permalink
[StimulusBundle] Removing ux_controller_link_tags() mention for 6.4
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverryan committed Nov 9, 2023
1 parent d4e3f0a commit e81521c
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions src/StimulusBundle/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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?
----------------------------------------
Expand Down

0 comments on commit e81521c

Please sign in to comment.