Skip to content

Commit 94ce267

Browse files
wxsmsJinjiang
andauthored
Update src/guide/best-practices/performance.md
Co-authored-by: Jinjiang <[email protected]>
1 parent 5bfa5d5 commit 94ce267

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/best-practices/performance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ import { defineAsyncComponent } from 'vue'
8282
const Foo = defineAsyncComponent(() => import('./Foo.vue'))
8383
```
8484

85-
对于使用了 Vue Router 的应用,强烈建议使用异步组件作为路由组件。<!-- TODO: translation --> Vue Router has explicit support for lazy loading, separate from `defineAsyncComponent`. 查看[懒加载路由](https://router.vuejs.org/zh/guide/advanced/lazy-loading.html)了解更多细节。
85+
对于使用了 Vue Router 的应用,强烈建议使用异步组件作为路由组件。Vue Router 已经显性地支持了独立于 `defineAsyncComponent` 的懒加载。查看[懒加载路由](https://router.vuejs.org/zh/guide/advanced/lazy-loading.html)了解更多细节。
8686

8787
### SSR / SSG {#ssr-ssg}
8888

0 commit comments

Comments
 (0)