From 8388c6d59a94b81f9bb0dd7d1104689a7eceb798 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Tue, 8 Aug 2023 19:09:39 +0200 Subject: [PATCH] Recommend NPM instead of Yarn --- 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 964094ceb..d5be4b9c2 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 e53f05dc4..b55c0c928 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