Skip to content
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

[StimulusBundle] Adding missing not about ux_controller_link_tags #1016

Merged
merged 1 commit into from
Aug 15, 2023
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
11 changes: 11 additions & 0 deletions src/StimulusBundle/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,17 @@ 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() }}

<!-- ... -->
{% endblock %}

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

Expand Down
Loading