From 8908aa7c5ad34e611f578768fe1ccc168d797b2a Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Mon, 3 Apr 2023 11:41:21 +0100 Subject: [PATCH] docs: add interop default to dynamic vue import example --- docs/2.guide/3.going-further/8.custom-routing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/2.guide/3.going-further/8.custom-routing.md b/docs/2.guide/3.going-further/8.custom-routing.md index 81fcb64327..3adc6ee72c 100644 --- a/docs/2.guide/3.going-further/8.custom-routing.md +++ b/docs/2.guide/3.going-further/8.custom-routing.md @@ -22,7 +22,7 @@ export default { { name: 'home', path: '/', - component: () => import('~/pages/home.vue') + component: () => import('~/pages/home.vue').then(r => r.default || r) } ], }