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 @@ -17,7 +17,7 @@ The AssetMapper component has two main features:
1717* :ref: `Importmaps <importmaps-javascript >`: A native browser feature that makes it easier
1818 to use the JavaScript ``import `` statement (e.g. ``import { Modal } from 'bootstrap' ``)
1919 without a build system. It's supported in all browsers (thanks to a shim)
20- and is a ` W3C standard <https://html.spec.whatwg.org/multipage/webappapis.html#import-maps >`_.
20+ and is part of the ` HTML5 standard <https://html.spec.whatwg.org/multipage/webappapis.html#import-maps >`_.
2121
2222Installation
2323------------
@@ -80,15 +80,16 @@ the file, the version part of the URL will change automatically!
8080Serving Assets in dev vs prod
8181~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8282
83- In the ``dev `` environment, the URL - ``/assets/images/duck-3c16d9220694c0e56d8648f25e6035e9.png ``
84- is handled and returned by your Symfony app. For the ``prod `` environment, before
85- deploy, you should run:
83+ In the ``dev `` environment, the URL ``/assets/images/duck-3c16d9220694c0e56d8648f25e6035e9.png ``
84+ is handled and returned by your Symfony app.
85+
86+ For the ``prod `` environment, before deploy, you should run:
8687
8788.. code-block :: terminal
8889
8990 $ php bin/console asset-map:compile
9091
91- This will physically copy all the files from your mapped directories into
92+ This will physically copy all the files from your mapped directories to
9293``public/assets/ `` so that they're served directly by your web server.
9394See :ref: `Deployment <asset-mapper-deployment >` for more details.
9495
You can’t perform that action at this time.
0 commit comments