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:
17
17
* :ref: `Importmaps <importmaps-javascript >`: A native browser feature that makes it easier
18
18
to use the JavaScript ``import `` statement (e.g. ``import { Modal } from 'bootstrap' ``)
19
19
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 >`_.
21
21
22
22
Installation
23
23
------------
@@ -80,15 +80,16 @@ the file, the version part of the URL will change automatically!
80
80
Serving Assets in dev vs prod
81
81
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
82
82
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:
86
87
87
88
.. code-block :: terminal
88
89
89
90
$ php bin/console asset-map:compile
90
91
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
92
93
``public/assets/ `` so that they're served directly by your web server.
93
94
See :ref: `Deployment <asset-mapper-deployment >` for more details.
94
95
You can’t perform that action at this time.
0 commit comments