From 8a06972ecbef555c11ac5179068c81d288758bb9 Mon Sep 17 00:00:00 2001 From: Antoine Makdessi Date: Tue, 12 Nov 2019 13:29:52 +0100 Subject: [PATCH] Update simple-example.rst --- frontend/encore/simple-example.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/encore/simple-example.rst b/frontend/encore/simple-example.rst index 32cc13bed8e..5937d19a952 100644 --- a/frontend/encore/simple-example.rst +++ b/frontend/encore/simple-example.rst @@ -269,7 +269,8 @@ you need them: + {% endblock %} Now, the checkout page will contain all the JavaScript and CSS for the ``app`` entry -(because this is included in ``base.html.twig``) *and* your ``checkout`` entry. +(because this is included in ``base.html.twig`` and there is the ``{{ parent() }}`` call) +*and* your ``checkout`` entry. See :doc:`/frontend/encore/page-specific-assets` for more details. To avoid duplicating the same code in different entry files, see :doc:`/frontend/encore/split-chunks`.