We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c166715 commit a653510Copy full SHA for a653510
frontend/encore/copy-files.rst
@@ -57,10 +57,10 @@ To render inside Twig, use the ``asset()`` function:
57
.. code-block:: html+twig
58
59
{# assets/images/logo.png was copied to web/build/logo.png #}
60
- <img src="{{ asset('build/logo.png') }}"
+ <img src="{{ asset('build/logo.png') }}">
61
62
{# assets/images/subdir/logo.png was copied to web/build/subdir/logo.png #}
63
- <img src="{{ asset('build/subdir/logo.png') }}"
+ <img src="{{ asset('build/subdir/logo.png') }}">
64
65
Make sure you've enabled the :ref:`json_manifest_path <load-manifest-files>` option,
66
which tells the ``asset()`` function to read the final paths from the ``manifest.json``
0 commit comments