Skip to content

Commit 597a4ec

Browse files
authored
Merge pull request #1482 from vitejs/sync-e0988783-1
docs(en): merge docs-cn/sync-docs into docs-cn/dev @ e098878
2 parents c03283e + b0c8136 commit 597a4ec

7 files changed

Lines changed: 11 additions & 7 deletions

File tree

blog/announcing-vite2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,4 @@ Vite 默认只支持原生支持 ESM 的现代浏览器,但可以通过官方
8181
npm init @vitejs/app
8282
```
8383

84-
然后,你可以阅读 [指引文档](/guide/) 了解 Vite 提供了哪些开箱即用的功能,也可以在 [GitHub](https://github.com/vitejs/vite) 上查看源码,关注我们的 [Twitter](https://twitter.com/vite_js) 以了解最新的进展,或与其他 Vite 用户在 [Discord](http://chat.vite.dev/) 上一起讨论。
84+
然后,你可以阅读 [指引文档](/guide/) 了解 Vite 提供了哪些开箱即用的功能,也可以在 [GitHub](https://github.com/vitejs/vite) 上查看源码,关注我们的 [Twitter](https://twitter.com/vite_js) 以了解最新的进展,或与其他 Vite 用户在 [Discord](https://chat.vite.dev/) 上一起讨论。

blog/announcing-vite3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Quick links:
4141
- [Migration Guide](https://v3.vite.dev/guide/migration.html)
4242
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md#300-2022-07-13)
4343

44-
If you are new to Vite, we recommend reading the [Why Vite Guide](https://vite.dev/guide/why.html). Then check out [the Getting Started](https://vite.dev/guide/) and [Features guide](https://vite.dev/guide/features) to see what Vite provides out of the box. As usual, contributions are welcome at [GitHub](https://github.com/vitejs/vite). More than [600 collaborators](https://github.com/vitejs/vite/graphs/contributors) have helped improve Vite so far. Follow the updates on [Twitter](https://twitter.com/vite_js), or join discussions with other Vite users on our [Discord chat server](http://chat.vite.dev/).
44+
If you are new to Vite, we recommend reading the [Why Vite Guide](https://vite.dev/guide/why.html). Then check out [the Getting Started](https://vite.dev/guide/) and [Features guide](https://vite.dev/guide/features) to see what Vite provides out of the box. As usual, contributions are welcome at [GitHub](https://github.com/vitejs/vite). More than [600 collaborators](https://github.com/vitejs/vite/graphs/contributors) have helped improve Vite so far. Follow the updates on [Twitter](https://twitter.com/vite_js), or join discussions with other Vite users on our [Discord chat server](https://chat.vite.dev).
4545

4646
## New Documentation
4747

blog/announcing-vite4.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Docs in other languages:
5151
- [日本語](https://ja.vite.dev/)
5252
- [Español](https://es.vite.dev/)
5353

54-
If you recently started using Vite, we suggest reading the [Why Vite Guide](https://vite.dev/guide/why.html) and checking out [the Getting Started](https://vite.dev/guide/) and [Features guide](https://vite.dev/guide/features). If you want to get involved, contributions are welcome at [GitHub](https://github.com/vitejs/vite). Almost [700 collaborators](https://github.com/vitejs/vite/graphs/contributors) have contributed to Vite. Follow the updates on [Twitter](https://twitter.com/vite_js) and [Mastodon](https://webtoo.ls/@vite), or join collaborate with others on our [Discord community](http://chat.vite.dev/).
54+
If you recently started using Vite, we suggest reading the [Why Vite Guide](https://vite.dev/guide/why.html) and checking out [the Getting Started](https://vite.dev/guide/) and [Features guide](https://vite.dev/guide/features). If you want to get involved, contributions are welcome at [GitHub](https://github.com/vitejs/vite). Almost [700 collaborators](https://github.com/vitejs/vite/graphs/contributors) have contributed to Vite. Follow the updates on [Twitter](https://twitter.com/vite_js) and [Mastodon](https://webtoo.ls/@vite), or collaborate with others on our [Discord community](https://chat.vite.dev).
5555

5656
## Start playing with Vite 4
5757

blog/announcing-vite6.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Vite 6 是自 Vite 2 以来最重要的主要版本发布。我们渴望与生
6666

6767
我们要感谢超过 [1000 位 Vite Core 贡献者](https://github.com/vitejs/vite/graphs/contributors) 以及 Vite 插件、集成、工具和翻译的维护者和贡献者,他们帮助我们打造了这个新的主要版本。我们也邀请你参与进来,帮助我们改进整个生态系统的 Vite。了解更多信息,请参阅我们的 [贡献指南](https://github.com/vitejs/vite/blob/main/CONTRIBUTING.md)
6868

69-
如果准备开始的话,我们建议可以帮助 [分类问题](https://github.com/vitejs/vite/issues)[审查 PR](https://github.com/vitejs/vite/pulls)、根据开放问题发送失败的测试 PR,并在[讨论](https://github.com/vitejs/vite/discussions) 和 Vite Land 的 [帮助论坛](https://discord.com/channels/804011606160703521/1019670660856942652) 中帮助他人。如果你想与我们交流,请加入我们的 [Discord 社区](http://chat.vite.dev/) 并在 [#贡献频道](https://discord.com/channels/804011606160703521/804439875226173480) 中打个招呼。
69+
如果准备开始的话,我们建议可以帮助 [分类问题](https://github.com/vitejs/vite/issues)[审查 PR](https://github.com/vitejs/vite/pulls)、根据开放问题发送失败的测试 PR,并在[讨论](https://github.com/vitejs/vite/discussions) 和 Vite Land 的 [帮助论坛](https://discord.com/channels/804011606160703521/1019670660856942652) 中帮助他人。如果你想与我们交流,请加入我们的 [Discord 社区](https://chat.vite.dev/) 并在 [#贡献频道](https://discord.com/channels/804011606160703521/804439875226173480) 中打个招呼。
7070

7171
有关 Vite 生态系统和 Vite Core 的最新消息,请关注我们的 [Bluesky](https://bsky.app/profile/vite.dev)[X](https://twitter.com/vite_js)[Mastodon](https://webtoo.ls/@vite)
7272

blog/announcing-vite7.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ _2025年6月24日_
5151

5252
我们诚邀你加入我们,帮助我们改进 Vite(加入超过 [1.1K 位 Vite Core 贡献者](https://github.com/vitejs/vite/graphs/contributors))、我们的依赖项、插件以及生态系统中的项目。了解更多信息,请参阅我们的[贡献指南](https://github.com/vitejs/vite/blob/main/CONTRIBUTING.md)
5353

54-
一个好的入门方法包括:[整理问题](https://github.com/vitejs/vite/issues)[审阅 PR](https://github.com/vitejs/vite/pulls)、基于未解决问题提交测试 PR,或在 [讨论区](https://github.com/vitejs/vite/discussions) 以及 Vite Land 的 [帮助论坛](https://discord.com/channels/804011606160703521/1019670660856942652) 中为他人提供帮助。如有任何疑问,欢迎加入我们的 [Discord 社区](http://chat.vite.dev/),并在 [#contributing 频道](https://discord.com/channels/804011606160703521/804439875226173480) 中与我们交流。
54+
一个好的入门方法包括:[整理问题](https://github.com/vitejs/vite/issues)[审阅 PR](https://github.com/vitejs/vite/pulls)、基于未解决问题提交测试 PR,或在 [讨论区](https://github.com/vitejs/vite/discussions) 以及 Vite Land 的 [帮助论坛](https://discord.com/channels/804011606160703521/1019670660856942652) 中为他人提供帮助。如有任何疑问,欢迎加入我们的 [Discord 社区](https://chat.vite.dev),并在 [#contributing 频道](https://discord.com/channels/804011606160703521/804439875226173480) 中与我们交流。
5555

5656
通过关注我们在 [Bluesky](https://bsky.app/profile/vite.dev)[X(原 Twitter)](https://twitter.com/vite_js)[Mastodon](https://webtoo.ls/@vite),保持更新并与更多基于 Vite 构建的开发者建立联系。
5757

guide/features.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { someMethod } from 'my-dep'
1212

1313
上面的代码会在浏览器中抛出一个错误。Vite 将会检测到所有被加载的源文件中的此类裸模块导入,并执行以下操作:
1414

15-
1. [预构建](./dep-pre-bundling) 它们可以提高页面加载速度,并将 CommonJS / UMD 转换为 ESM 格式。预构建这一步由 [esbuild](http://esbuild.github.io/) 执行,这使得 Vite 的冷启动时间比任何基于 JavaScript 的打包器都要快得多。
15+
1. [预构建](./dep-pre-bundling) 它们可以提高页面加载速度,并将 CommonJS / UMD 转换为 ESM 格式。预构建这一步由 [esbuild](https://esbuild.github.io/) 执行,这使得 Vite 的冷启动时间比任何基于 JavaScript 的打包器都要快得多。
1616

1717
2. 重写导入为合法的 URL,例如 `/node_modules/.vite/deps/my-dep.js?v=f3sf2ebd` 以便浏览器能够正确导入它们。
1818

guide/static-deploy.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ $ npx wrangler pages deploy dist
250250

251251
3. 运行 `surge dist` 命令部署到 surge。
252252

253-
你也可以通过添加 `surge dist yourdomain.com` 部署到一个 [自定义域名](http://surge.sh/help/adding-a-custom-domain)
253+
你也可以通过添加 `surge dist yourdomain.com` 部署到一个 [自定义域名](https://surge.sh/help/adding-a-custom-domain)
254254

255255
## Azure 的静态网站应用 {#azure-static-web-apps}
256256

@@ -322,3 +322,7 @@ $ npx wrangler pages deploy dist
322322
Zephyr 与其他云提供商采用不同的方法。它直接与 Vite 构建流程集成,因此每次你构建或运行应用程序的开发服务器时,它都会自动部署到 Zephyr Cloud。
323323

324324
请按照 [Vite 部署指南](https://docs.zephyr-cloud.io/bundlers/vite) 中的步骤开始使用。
325+
326+
## EdgeOne Pages {#edgeone-pages}
327+
328+
通过遵循这些[说明](https://pages.edgeone.ai/document/vite),使用 [EdgeOne Pages](https://edgeone.ai/products/pages) 部署你的静态站点。

0 commit comments

Comments
 (0)