Recommend NPM instead of Yarn (#1229)

This commit is contained in:
Nicolas Grekas
2023-08-08 22:07:35 +02:00
committed by GitHub
parent 5436f78111
commit 544ff21cd0
2 changed files with 5 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
* Your admin is almost ready:
1. Install the JavaScript dependencies by running <comment>yarn add @api-platform/admin @babel/preset-react</comment>
1. Install the JavaScript dependencies by running <comment>npm add @api-platform/admin @babel/preset-react</comment>
2. Edit <comment>webpack.config.js</comment> and <info>uncomment</info> the following lines:
Encore

View File

@@ -1,3 +1,5 @@
* Install Yarn and run <fg=green>yarn install</>
* Install NPM and run <fg=green>npm install</>
* Start the development server: <fg=green>yarn encore dev-server</>
* Compile your assets: <fg=green>npm run dev</>
* Or start the development server: <fg=green>npm run watch</>