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 4068da5 commit a98e0d8Copy full SHA for a98e0d8
frontend/encore/copy-files.rst
@@ -40,7 +40,7 @@ files into your final output directory.
40
41
+ .copyFiles({
42
+ from: './assets/images',
43
- +
+ +
44
+ // optional target path, relative to the output dir
45
+ //to: 'images/[path][name].[ext]',
46
+
@@ -54,6 +54,8 @@ include a hash based on their content.
54
55
To render inside Twig, use the ``asset()`` function:
56
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') }}"
61
0 commit comments