From 3140def9982b5d0221ab69eacad341d90b6b58bc Mon Sep 17 00:00:00 2001 From: jameszow Date: Fri, 22 Sep 2023 21:12:54 +0800 Subject: [PATCH] update npm -> pnpm --- README_ZH.md | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/README_ZH.md b/README_ZH.md index 5528040..d186c66 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -3,23 +3,22 @@ ## 项目设置 ``` -npm install -``` +npm install -g pnpm -### 用于开发的编译和热重载 -``` -npm run serve +pnpm install ``` ### 用于打包生产环境的编译程序 ``` -npm run build +pnpm build + +pnpm preview ``` -### 整理和修复文件 +### 查看打包后的程序 ``` -npm run lint +pnpm preview:dist ``` ### Vue-Cli 自定义配置 -See [Configuration Reference](https://cli.vuejs.org/config/). \ No newline at end of file +See [Configuration Reference](https://cli.vuejs.org/config/).