From 978f1dcde68ae0972340cf2690efd3636305014b Mon Sep 17 00:00:00 2001 From: jmsche Date: Thu, 24 Aug 2023 12:32:35 +0200 Subject: [PATCH] [AssetMapper] Add docs for the importmap:install command --- frontend/asset_mapper.rst | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/frontend/asset_mapper.rst b/frontend/asset_mapper.rst index 17a80af3fce..5cdd8340bb7 100644 --- a/frontend/asset_mapper.rst +++ b/frontend/asset_mapper.rst @@ -233,8 +233,11 @@ If you want to download the package locally, use the ``--download`` option: $ php bin/console importmap:require bootstrap --download This will download the package into an ``assets/vendor/`` directory and update -the ``importmap.php`` file to point to it. You *should* commit this file to -your repository. +the ``importmap.php`` file to point to it. You can either commit this directory +to your repository, or ignore the directory in your ``.gitignore`` config file. +If the directory is ignored, you can run the +``php bin/console importmap:install`` command to download the files on other +computers if some files are missing. .. note::