Skip to content

Commit 4897c25

Browse files
[AssetMapper] Adding {% block importmap %} in v6.4
Same as symfony#19466 but now on the right branch :-)
1 parent eeaa281 commit 4897c25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/asset_mapper.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ It also *updated* the ``templates/base.html.twig`` file:
4848
.. code-block:: diff
4949
5050
{% block javascripts %}
51-
+ {{ importmap('app') }}
51+
+ {% block importmap %}{{ importmap('app') }}{% endblock %}
5252
{% endblock %}
5353
5454
If you're not using Flex, you'll need to create & update these files manually. See

0 commit comments

Comments
 (0)