From dc8f950daa2d33c7d6f344884f2f541a5bc1ec04 Mon Sep 17 00:00:00 2001 From: Thomas Landauer Date: Wed, 18 Oct 2023 12:03:30 +0200 Subject: [PATCH] [UX] Moving yarn above npm As at https://symfony.com/doc/current/frontend/encore/installation.html --- src/TogglePassword/doc/index.rst | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/TogglePassword/doc/index.rst b/src/TogglePassword/doc/index.rst index 441acecf491..c676c8e8354 100644 --- a/src/TogglePassword/doc/index.rst +++ b/src/TogglePassword/doc/index.rst @@ -22,17 +22,19 @@ Then, install this bundle using Composer and Symfony Flex: $ composer require symfony/ux-toggle-password -If you're using WebpackEncore, install your assets and restart Encore (not +If you're using Webpack Encore, install your assets and restart Encore (not needed if you're using AssetMapper): .. code-block:: terminal + # yarn + $ yarn install --force + $ yarn watch + + # npm $ npm install --force $ npm run watch - # or use yarn - $ yarn install --force - $ yarn watch Usage with Symfony Forms ------------------------