Skip to content

Commit c7d5c2d

Browse files
fix: update guide/features.md
1 parent 983fdbd commit c7d5c2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guide/features.md

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

2525
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 实现了官方集成。
2626

27-
注意,你不需要手动设置这些 —— 当你 [create an app via `create-vite`](./) 创建应用程序时,所选模板已经为你预先配置了这些。
27+
注意,你不需要手动设置这些 —— 当你通过 [`create-vite`](./) 创建应用程序时,所选模板已经为你预先配置了这些。
2828

2929
## TypeScript {#typescript}
3030

0 commit comments

Comments
 (0)