Skip to content

Commit

Permalink
Recommend NPM instead of Yarn (#1229)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas authored Aug 8, 2023
1 parent 5436f78 commit 544ff21
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion api-platform/admin-pack/1.0/post-install.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 4 additions & 2 deletions symfony/webpack-encore-bundle/2.0/post-install.txt
Original file line number Diff line number Diff line change
@@ -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</>

0 comments on commit 544ff21

Please sign in to comment.