File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ The AssetMapper component has two main features:
2121* :ref: `Importmaps <importmaps-javascript >`: A native browser feature that makes it easier
2222 to use the JavaScript ``import `` statement (e.g. ``import { Modal } from 'bootstrap' ``)
2323 without a build system. It's supported in all browsers (thanks to a shim)
24- and is a ` W3C standard <https://html.spec.whatwg.org/multipage/webappapis.html#import-maps >`_.
24+ and is part of the ` HTML5 standard <https://html.spec.whatwg.org/multipage/webappapis.html#import-maps >`_.
2525
2626Installation
2727------------
@@ -84,15 +84,16 @@ the file, the version part of the URL will change automatically!
8484Serving Assets in dev vs prod
8585~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8686
87- In the ``dev `` environment, the URL - ``/assets/images/duck-3c16d9220694c0e56d8648f25e6035e9.png ``
88- is handled and returned by your Symfony app. For the ``prod `` environment, before
89- deploy, you should run:
87+ In the ``dev `` environment, the URL ``/assets/images/duck-3c16d9220694c0e56d8648f25e6035e9.png ``
88+ is handled and returned by your Symfony app.
89+
90+ For the ``prod `` environment, before deploy, you should run:
9091
9192.. code-block :: terminal
9293
9394 $ php bin/console asset-map:compile
9495
95- This will physically copy all the files from your mapped directories into
96+ This will physically copy all the files from your mapped directories to
9697``public/assets/ `` so that they're served directly by your web server.
9798See :ref: `Deployment <asset-mapper-deployment >` for more details.
9899
You can’t perform that action at this time.
0 commit comments