Skip to content

Commit cc75771

Browse files
committed
docs(en): merging all conflicts
2 parents 289a688 + 9578c80 commit cc75771

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

guide/features.md

+4
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@ Vite 通过 HTTP 头来缓存请求得到的依赖,所以如果你想要编辑
2222

2323
## 模块热重载 {#hot-module-replacement}
2424

25+
<<<<<<< HEAD
2526
Vite 提供了一套原生 ESM 的 [HMR API](./api-hmr)。 具有 HMR 功能的框架可以利用该 API 提供即时、准确的更新,而无需重新加载页面或清除应用程序状态。Vite 内置了 HMR 到 [Vue 单文件组件(SFC)](https://github.com/vitejs/vite/tree/main/packages/plugin-vue)[React Fast Refresh](https://github.com/vitejs/vite/tree/main/packages/plugin-react-refresh) 中。也通过 [@prefresh/vite](https://github.com/JoviDeCroock/prefresh/tree/main/packages/vite) 对 Preact 实现了官方集成。
27+
=======
28+
Vite provides an [HMR API](./api-hmr) over native ESM. Frameworks with HMR capabilities can leverage the API to provide instant, precise updates without reloading the page or blowing away application state. Vite provides first-party HMR integrations for [Vue Single File Components](https://github.com/vitejs/vite/tree/main/packages/plugin-vue) and [React Fast Refresh](https://github.com/vitejs/vite/tree/main/packages/plugin-react). There are also official integrations for Preact via [@prefresh/vite](https://github.com/JoviDeCroock/prefresh/tree/main/packages/vite).
29+
>>>>>>> 9578c808bdc9e6bef101e0284ac9be2846f213e2
2630
2731
注意,你不需要手动设置这些 —— 当你通过 [`create-vite`](./) 创建应用程序时,所选模板已经为你预先配置了这些。
2832

0 commit comments

Comments
 (0)