File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,9 +10,9 @@ is a light layer that helps serve your files directly to the browser.
1010The component has two main features:
1111
1212* :ref: `Mapping & Versioning Assets <mapping-assets >`: All files inside of ``assets/ ``
13- are made available publicly and **versioned **. You can reference
14- ``assets/styles/app.css `` in a template with ``{{ asset('styles/app.css ') }} ``.
15- The final URL will include a version hash, like ``/assets/styles/app -3c16d9220694c0e56d8648f25e6035e9.css ``.
13+ are made available publicly and **versioned **. You can reference the file
14+ ``assets/images/product.jpg `` in a Twig template with ``{{ asset('images/product.jpg ') }} ``.
15+ The final URL will include a version hash, like ``/assets/images/product -3c16d9220694c0e56d8648f25e6035e9.jpg ``.
1616
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' ``)
You can’t perform that action at this time.
0 commit comments