Skip to content

Commit 2990dbe

Browse files
committed
minor #18785 [AssetMapper] Add docs for importmap:install command (jmsche)
This PR was merged into the 6.4 branch. Discussion ---------- [AssetMapper] Add docs for `importmap:install` command Hi, this PR adds docs for the new `importmap:install` command added by symfony/symfony#51351. Commits ------- 978f1dc [AssetMapper] Add docs for the importmap:install command
2 parents 0e6121c + 978f1dc commit 2990dbe

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

frontend/asset_mapper.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,11 @@ If you want to download the package locally, use the ``--download`` option:
233233
$ php bin/console importmap:require bootstrap --download
234234
235235
This will download the package into an ``assets/vendor/`` directory and update
236-
the ``importmap.php`` file to point to it. You *should* commit this file to
237-
your repository.
236+
the ``importmap.php`` file to point to it. You can either commit this directory
237+
to your repository, or ignore the directory in your ``.gitignore`` config file.
238+
If the directory is ignored, you can run the
239+
``php bin/console importmap:install`` command to download the files on other
240+
computers if some files are missing.
238241

239242
.. note::
240243

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy