Skip to content

Commit 544ff21

Browse files
Recommend NPM instead of Yarn (#1229)
1 parent 5436f78 commit 544ff21

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

api-platform/admin-pack/1.0/post-install.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
* Your admin is almost ready:
2-
1. Install the JavaScript dependencies by running <comment>yarn add @api-platform/admin @babel/preset-react</comment>
2+
1. Install the JavaScript dependencies by running <comment>npm add @api-platform/admin @babel/preset-react</comment>
33
2. Edit <comment>webpack.config.js</comment> and <info>uncomment</info> the following lines:
44

55
Encore
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1-
* Install Yarn and run <fg=green>yarn install</>
1+
* Install NPM and run <fg=green>npm install</>
22

3-
* Start the development server: <fg=green>yarn encore dev-server</>
3+
* Compile your assets: <fg=green>npm run dev</>
4+
5+
* Or start the development server: <fg=green>npm run watch</>

0 commit comments

Comments
 (0)