8000 minor #18785 [AssetMapper] Add docs for `importmap:install` command (… · symfony/symfony-docs@2990dbe · GitHub
[go: up one dir, main page]

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)
0