From aa066062e15c1f317bb17da5072dfd7f1f6888f4 Mon Sep 17 00:00:00 2001 From: AuroraTea <1352685369@qq.com> Date: Tue, 20 Dec 2022 23:48:10 +0800 Subject: [PATCH] docs(getting-started): improve usage of `pnpm` (#9775) --- docs/content/1.docs/1.getting-started/2.installation.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/content/1.docs/1.getting-started/2.installation.md b/docs/content/1.docs/1.getting-started/2.installation.md index 9ca578ac0e..e3736f8b73 100644 --- a/docs/content/1.docs/1.getting-started/2.installation.md +++ b/docs/content/1.docs/1.getting-started/2.installation.md @@ -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 ``` ::