You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vue Router supports a similar mechanism for asynchronously loading route components, known as *lazy loading*. Despite the similarities, this feature is distinct from Vue's support for async components. You should **not** use `defineAsyncComponent` when configuring route components with Vue Router. You can read more about this in the [Lazy Loading Routes](https://next.router.vuejs.org/guide/advanced/lazy-loading.html) section of the Vue Router documentation.
62
+
:::
63
+
64
+
::: tip NOTE
65
+
Vue router mendukung cara yang sama untuk menggunakan komponen _asynchronously loading route_, yang di ketahui sebagai __lazy loading__. Meskipun hampir sama, fitur ini berbeda dengan Vue komponen _async_. Kamu seharusnya tidak menggunakan `defineAsyncComponent` saat mengkonfigurasi komponen `router` dengan Vue Router. Kamu bisa membaca lebih lanjut tentang [_Lazy Loading Route_](https://next.router.vuejs.org/guide/advanced/lazy-loading.html) disini pada bagian Dokumentasi _Vue Router_.
66
+
:::
60
67
Perubahan lain yang terjadi dari Vue versi 2 adalah opsi `component` yang diubah menjadi `loader` yang bertujuan untuk menyampaikan bahwa pernyataan komponen tidak dapat disediakan secara langsung.
0 commit comments