We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 905d7d1 + 33fdbc8 commit 2ee53f2Copy full SHA for 2ee53f2
.gitignore
@@ -5,5 +5,6 @@ db.json
5
node_modules/
6
.deploy*/
7
package-lock.json
8
+yarn.lock
9
.vitepress/dist
10
*.local
README.md
@@ -47,9 +47,9 @@ $ git clone https://github.com/vitejs/docs-cn.git
47
48
# 安装依赖
49
$ npm install
50
-# 或者使用 yarn
51
-$ yarn install
+# 或者使用 pnpm
+$ pnpm i
52
53
# 启动开发服务器
54
-$ yarn dev
+$ pnpm dev
55
```
guide/static-deploy.md
@@ -3,7 +3,7 @@
3
本指南建立在以下几个假设基础之上:
4
- 你正在使用的是默认的构建输出路径(`dist`)。这个路径 [可以通过 `build.outDir` 更改](/config/#build-outdir),在这种情况下,你可以从这篇指南中找到出所需的指引。
-- 你正在使用 NPM;或者 Yarn 等其他可以运行下面的脚本指令的包管理工具。
+- 你正在使用 NPM;或者 Yarn PNPM 等其他可以运行下面的脚本指令的包管理工具。
- Vite 已作为一个本地开发依赖(dev dependency)安装在你的项目中,并且你已经配置好了如下的 npm scripts:
```json
0 commit comments