Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recommend NPM instead of Yarn #1229

Merged
merged 1 commit into from
Aug 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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</>