docs: 项目启动命令由npm调整为pnpm

This commit is contained in:
haoxr 2023-02-08 00:58:09 +08:00
parent ec99664a58
commit 367c375982
1 changed files with 5 additions and 4 deletions

View File

@ -74,12 +74,13 @@
1. 安装依赖
```bash
npm install
npm install pnpm -g
pnpm install
```
2. 启动运行
```bash
npm run dev
pnpm run dev
```
3. 访问测试
@ -87,10 +88,10 @@
## 项目部署
- 本地打包
- 打包项目
```
npm run build:prod
pnpm run build:prod
```
生成的静态文件位于项目根目录 `dist` 文件夹下