docs(getting-started): improve usage of pnpm (#9775)

This commit is contained in:
AuroraTea 2022-12-20 23:48:10 +08:00 committed by GitHub
parent d2e51ae859
commit aa066062e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,6 +78,7 @@ npm install
```
```bash [pnpm]
# Make sure you have `shamefully-hoist=true` in `.npmrc` before running pnpm install
pnpm install
```
@ -102,7 +103,7 @@ npm run dev -- -o
```
```bash [pnpm]
pnpm run dev -o
pnpm dev -o
```
::