From 4897c25304364c214b67dd5b629e83b8c098e372 Mon Sep 17 00:00:00 2001 From: Thomas Landauer Date: Tue, 30 Jan 2024 16:23:06 +0100 Subject: [PATCH] [AssetMapper] Adding `{% block importmap %}` in v6.4 Same as https://github.com/symfony/symfony-docs/pull/19466 but now on the right branch :-) --- frontend/asset_mapper.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/asset_mapper.rst b/frontend/asset_mapper.rst index 6ce899d9767..7e745f0cb8e 100644 --- a/frontend/asset_mapper.rst +++ b/frontend/asset_mapper.rst @@ -48,7 +48,7 @@ It also *updated* the ``templates/base.html.twig`` file: .. code-block:: diff {% block javascripts %} - + {{ importmap('app') }} + + {% block importmap %}{{ importmap('app') }}{% endblock %} {% endblock %} If you're not using Flex, you'll need to create & update these files manually. See