Skip to content

Commit f01be7f

Browse files
authored
Update README.md
1 parent 4ab4502 commit f01be7f

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,18 @@
8686

8787
## 使用
8888

89-
请先安装 node.js v18-v20,及 pnpm, 然后执行以下命令:
89+
请先安装 node.js v18-v20,及 pnpm 8.4.0, 然后执行以下命令:
9090

91-
```
91+
```shell
92+
// 安装pnpm
93+
npm install -g pnpm@8.4.0
94+
95+
// 中国使用淘宝代理
96+
// npm install -g pnpm@8.4.0 --registry=https://registry.npmmirror.com
9297
pnpm i
9398
pnpm dev
9499
```
100+
重要:必须使用pnpm 8.x,高版本pnpm会导致依赖不一致出现页面运行报错。
95101

96102
## 开发者服务
97103

0 commit comments

Comments
 (0)