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 8db7f09ac2..81fcb64327 100644 --- a/docs/2.guide/3.going-further/8.custom-routing.md +++ b/docs/2.guide/3.going-further/8.custom-routing.md @@ -44,7 +44,7 @@ export default defineNuxtConfig({ pages.push({ name: 'profile', path: '/profile', - component: () => import('~/pages/profile.vue') + file: '~/extra-pages/profile.vue' }) // remove routes