From 544ff21cd02720ce5fa7f2276aa577aaf87eda0b Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Tue, 8 Aug 2023 22:07:35 +0200 Subject: [PATCH] Recommend NPM instead of Yarn (#1229) --- api-platform/admin-pack/1.0/post-install.txt | 2 +- symfony/webpack-encore-bundle/2.0/post-install.txt | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/api-platform/admin-pack/1.0/post-install.txt b/api-platform/admin-pack/1.0/post-install.txt index 964094ce..d5be4b9c 100644 --- a/api-platform/admin-pack/1.0/post-install.txt +++ b/api-platform/admin-pack/1.0/post-install.txt @@ -1,5 +1,5 @@ * Your admin is almost ready: - 1. Install the JavaScript dependencies by running yarn add @api-platform/admin @babel/preset-react + 1. Install the JavaScript dependencies by running npm add @api-platform/admin @babel/preset-react 2. Edit webpack.config.js and uncomment the following lines: Encore diff --git a/symfony/webpack-encore-bundle/2.0/post-install.txt b/symfony/webpack-encore-bundle/2.0/post-install.txt index e53f05dc..b55c0c92 100644 --- a/symfony/webpack-encore-bundle/2.0/post-install.txt +++ b/symfony/webpack-encore-bundle/2.0/post-install.txt @@ -1,3 +1,5 @@ - * Install Yarn and run yarn install + * Install NPM and run npm install - * Start the development server: yarn encore dev-server + * Compile your assets: npm run dev + + * Or start the development server: npm run watch