Skip to content

[StimulusBundle] Removing ux_controller_link_tags() mention for 6.4 #1265

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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