Skip to content

Commit 978f1dc

Browse files
committed
[AssetMapper] Add docs for the importmap:install command
1 parent 80f7c9e commit 978f1dc

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)