docs: fix pages:extend example

resolves #19940
This commit is contained in:
Daniel Roe 2023-03-28 11:24:41 +01:00
parent 576bdc2dd7
commit 72724076b0

View File

@ -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