Skip to content

Commit a6c2ea9

Browse files
committed
minor #12627 Update simple-example.rst (noniagriconomie)
This PR was submitted for the master branch but it was merged into the 3.4 branch instead (closes #12627). Discussion ---------- Update simple-example.rst Minor improvement The inclusion of the css/js is mainly because of the `parent` call, not only the `include/extend` Commits ------- 8a06972 Update simple-example.rst
2 parents 6e6556d + 8a06972 commit a6c2ea9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

frontend/encore/simple-example.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,8 @@ you need them:
269269
+ {% endblock %}
270270
271271
Now, the checkout page will contain all the JavaScript and CSS for the ``app`` entry
272-
(because this is included in ``base.html.twig``) *and* your ``checkout`` entry.
272+
(because this is included in ``base.html.twig`` and there is the ``{{ parent() }}`` call)
273+
*and* your ``checkout`` entry.
273274

274275
See :doc:`/frontend/encore/page-specific-assets` for more details. To avoid duplicating
275276
the same code in different entry files, see :doc:`/frontend/encore/split-chunks`.

0 commit comments

Comments
 (0)