d2m#1530
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Pull request overview
This PR updates the Chinese documentation for static deployment in the Vite guide. The changes simplify the deployment instructions by removing verbose code examples and consolidating information into more concise text.
Changes:
- Condensed deployment instructions for Netlify CLI, Vercel CLI, Firebase, Surge, and Render by removing example code blocks
- Added explicit installation commands directly in the step descriptions
- Updated Netlify CLI documentation URL to the official getting started guide
- Introduced code-group formatting for Firebase configuration files
- Minor formatting improvements (removed extra blank lines, combined related text)
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| ### Vercel CLI {#vercel-cli} | ||
|
|
||
| 1. 安装 [Vercel CLI](https://vercel.com/cli) 并运行 `vercel` 来部署。 | ||
| 1. 通过 `npm i -g vercel` 命令安装 [Vercel CLI](https://vercel.com/cli),然后运行 vercel 命令完成部署。 |
There was a problem hiding this comment.
The word "vercel" should be wrapped in backticks to match the convention used throughout the document when referring to commands. It should read: "然后运行 vercel 命令完成部署" instead of "然后运行 vercel 命令完成部署".
| 1. 通过 `npm i -g vercel` 命令安装 [Vercel CLI](https://vercel.com/cli),然后运行 vercel 命令完成部署。 | |
| 1. 通过 `npm i -g vercel` 命令安装 [Vercel CLI](https://vercel.com/cli),然后运行 `vercel` 命令完成部署。 |
| 1. 安装 [Netlify CLI](https://cli.netlify.com/)。 | ||
| 2. 使用 `ntl init` 创建一个新站点。 | ||
| 3. 使用 `ntl deploy` 来部署。 | ||
| 1. 通过 `npm install -g netlify-cli` 安装 [Netlify CLI](https://docs.netlify.com/api-and-cli-guides/cli-guides/get-started-with-cli/) 。 |
There was a problem hiding this comment.
There is an extra space before the Chinese period at the end of this line. It should be ) 。 → )。 to match the convention used throughout the document (e.g., lines 227, 231, 237, etc.).
| 1. 通过 `npm install -g netlify-cli` 安装 [Netlify CLI](https://docs.netlify.com/api-and-cli-guides/cli-guides/get-started-with-cli/) 。 | |
| 1. 通过 `npm install -g netlify-cli` 安装 [Netlify CLI](https://docs.netlify.com/api-and-cli-guides/cli-guides/get-started-with-cli/)。 |
No description provided.