Skip to content

Commit 0ee7a2d

Browse files
committed
minor #1265 [StimulusBundle] Removing ux_controller_link_tags() mention for 6.4 (weaverryan)
This PR was merged into the 2.x branch. Discussion ---------- [StimulusBundle] Removing ux_controller_link_tags() mention for 6.4 | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | Issues | None | License | MIT Eventually, we should remove this from the recipe as well - after AssetMapper 6.4 is out. https://github.com/symfony/recipes/blob/main/symfony/stimulus-bundle/2.9/manifest.json#L40 Commits ------- e81521c [StimulusBundle] Removing ux_controller_link_tags() mention for 6.4
2 parents bb09c7a + e81521c commit 0ee7a2d

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)