Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions guide/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,13 @@ vite optimize [root]

本地预览构建产物。不要将其用作生产服务器,因为它不是为此而设计的。

<<<<<<< HEAD
#### 使用 {#usage-3}
=======
This command starts a server in the build directory (by default `dist`). Run `vite build` beforehand to ensure that the build directory is up-to-date. Depending on the project's configured [`appType`](/config/shared-options.html#apptype), it makes use of certain middleware.

#### Usage
>>>>>>> 43f06995143e60c47222c26ccf5d2ae387153409

```bash
vite preview [root]
Expand Down
24 changes: 24 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
<<<<<<< HEAD
"name": "vite-docs-cn",
"version": "1.0.0",
"description": "Vite.js documentation Chinese translation.",
Expand Down Expand Up @@ -39,4 +40,27 @@
"gitHooks": {
"commit-msg": "node scripts/verifyCommit.js"
}
=======
"name": "@vitejs/monorepo-docs",
"private": true,
"type": "module",
"scripts": {
"typecheck": "vue-tsc",
"docs": "vitepress dev",
"docs-build": "vitepress build",
"docs-serve": "vitepress serve"
},
"devDependencies": {
"@shikijs/vitepress-twoslash": "^3.13.0",
"@types/express": "^5.0.3",
"feed": "^5.1.0",
"gsap": "^3.13.0",
"markdown-it-image-size": "^15.0.1",
"vitepress": "^2.0.0-alpha.12",
"vitepress-plugin-group-icons": "^1.6.3",
"vitepress-plugin-llms": "^1.8.0",
"vue": "^3.5.22",
"vue-tsc": "^3.1.0"
}
>>>>>>> 43f06995143e60c47222c26ccf5d2ae387153409
}