mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-28 07:54:20 +00:00
docs: add interop default to dynamic vue import example
This commit is contained in:
parent
c660b39447
commit
8908aa7c5a
@ -22,7 +22,7 @@ export default <RouterConfig> {
|
|||||||
{
|
{
|
||||||
name: 'home',
|
name: 'home',
|
||||||
path: '/',
|
path: '/',
|
||||||
component: () => import('~/pages/home.vue')
|
component: () => import('~/pages/home.vue').then(r => r.default || r)
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user