Skip to content
2 changes: 1 addition & 1 deletion blog/announcing-vite2.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,4 @@ Vite 默认只支持原生支持 ESM 的现代浏览器,但可以通过官方
npm init @vitejs/app
```

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

Copilot AI Dec 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The URL https://chat.vite.dev/ has a trailing slash, but other files in this PR update the same URL without a trailing slash (e.g., announcing-vite7.md line 54, announcing-vite4.md line 54, announcing-vite3.md line 44). For consistency, this should match the pattern used in other files.

Copilot uses AI. Check for mistakes.
2 changes: 1 addition & 1 deletion blog/announcing-vite3.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Quick links:
- [Migration Guide](https://v3.vite.dev/guide/migration.html)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md#300-2022-07-13)

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/).
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).

## New Documentation

Expand Down
2 changes: 1 addition & 1 deletion blog/announcing-vite4.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Docs in other languages:
- [日本語](https://ja.vite.dev/)
- [Español](https://es.vite.dev/)

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/).
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).

## Start playing with Vite 4

Expand Down
2 changes: 1 addition & 1 deletion blog/announcing-vite6.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Vite 6 是自 Vite 2 以来最重要的主要版本发布。我们渴望与生

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

如果准备开始的话,我们建议可以帮助 [分类问题](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) 中打个招呼。
如果准备开始的话,我们建议可以帮助 [分类问题](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) 中打个招呼。
Copy link

Copilot AI Dec 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The URL https://chat.vite.dev/ has a trailing slash, but other files in this PR update the same URL without a trailing slash (e.g., announcing-vite7.md line 54, announcing-vite4.md line 54, announcing-vite3.md line 44). For consistency, this should match the pattern used in other files.

Suggested change
如果准备开始的话,我们建议可以帮助 [分类问题](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) 中打个招呼。
如果准备开始的话,我们建议可以帮助 [分类问题](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) 中打个招呼。

Copilot uses AI. Check for mistakes.

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

Expand Down
2 changes: 1 addition & 1 deletion blog/announcing-vite7.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ _2025年6月24日_

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

一个好的入门方法包括:[整理问题](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) 中与我们交流。
一个好的入门方法包括:[整理问题](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) 中与我们交流。

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

Expand Down
2 changes: 1 addition & 1 deletion guide/features.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { someMethod } from 'my-dep'

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

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

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

Expand Down
6 changes: 5 additions & 1 deletion guide/static-deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ $ npx wrangler pages deploy dist

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

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

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

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

请按照 [Vite 部署指南](https://docs.zephyr-cloud.io/bundlers/vite) 中的步骤开始使用。

## EdgeOne Pages {#edgeone-pages}

通过遵循这些[说明](https://pages.edgeone.ai/document/vite),使用 [EdgeOne Pages](https://edgeone.ai/products/pages) 部署你的静态站点。