8000 Hello AssetMapper Documentation by weaverryan · Pull Request #18370 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Hello AssetMapper Documentation #18370

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 14 commits into from
Prev Previous commit
rst doctor
  • Loading branch information
weaverryan committed Jun 6, 2023
commit 721b188dd3b95bf8cfaf640ccb66b1276208aa91
3 changes: 0 additions & 3 deletions frontend/asset_mapper.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1004,7 +1004,6 @@ pages. To add a CSS file to a specific page, create the file, then add a
.. code-block:: html+twig

{# templates/products/checkout.html.twig #}

{% block stylesheets %}
{{ parent() }}

Expand All @@ -1017,7 +1016,6 @@ add a ``script``` tag that imports it:
.. code-block:: html+twig

{# templates/products/checkout.html.twig #}

{% block javascripts %}
{{ parent() }}

Expand All @@ -1036,7 +1034,6 @@ and *not* ``app.js``, override the ``javascript`` block entirely and render
.. code-block:: html+twig

{# templates/products/checkout.html.twig #}

{% block javascripts %}
<script type="module">
{{ importmap(asset('checkout.js')) }}
Expand Down
0