-
-
Notifications
You must be signed in to change notification settings - Fork 376
d2m #1530
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
d2m #1530
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
527f694
docs(static-deploy): simplify instructions (#21447)
sapphi-red 81d9726
docs(en): merging all conflicts
docschina-bot 35be503
resolve conflict
thinkasany 1a71870
Merge pull request #1528 from vitejs/sync-527f6942-1
thinkasany fb24bf0
feat: update rolldown to 1.0.0-rc.1 (#21463)
sapphi-red c304de4
docs(en): merging all conflicts
docschina-bot 0e25f66
resolve deps
thinkasany f702287
Merge pull request #1529 from vitejs/sync-fb24bf02-1
thinkasany File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -113,27 +113,11 @@ $ npm run preview | |||||
|
|
||||||
| ### Netlify CLI {#netlify-cli} | ||||||
|
|
||||||
| 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/) 。 | ||||||
| 2. 使用 `netlify init` 创建一个新站点。 | ||||||
| 3. 使用 `netlify deploy` 来部署。 | ||||||
|
|
||||||
| ```bash | ||||||
| # 安装 Netlify CLI | ||||||
| $ npm install -g netlify-cli | ||||||
|
|
||||||
| # 在 Netlify 中创建一个新站点 | ||||||
| $ ntl init | ||||||
|
|
||||||
| # 部署一个独一无二的预览 URL | ||||||
| $ ntl deploy | ||||||
| ``` | ||||||
|
|
||||||
| Netlify CLI 会给你分享一个预览的 URL 来检查部署结果。当你准备好了发布生产版本时,请使用 `prod` 标志: | ||||||
|
|
||||||
| ```bash | ||||||
| # 部署站点到生产环境 | ||||||
| $ ntl deploy --prod | ||||||
| ``` | ||||||
| Netlify 命令行工具(CLI)会为你提供一个预览链接,供你查看效果。当你准备发布到生产环境时,可使用 `prod` 参数执行命令:`netlify deploy --prod`。 | ||||||
|
|
||||||
| ### Netlify with Git {#netlify-with-git} | ||||||
|
|
||||||
|
|
@@ -149,18 +133,10 @@ $ ntl deploy --prod | |||||
|
|
||||||
| ### Vercel CLI {#vercel-cli} | ||||||
|
|
||||||
| 1. 安装 [Vercel CLI](https://vercel.com/cli) 并运行 `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. 通过 `npm i -g vercel` 命令安装 [Vercel CLI](https://vercel.com/cli),然后运行 `vercel` 命令完成部署。 |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.).