mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 13:45:18 +00:00
fix(nuxt): pass augmented pages to child paths
resolves https://github.com/nuxt/nuxt/issues/27781
This commit is contained in:
parent
ca9d9825b2
commit
ecb35d3a2a
@ -149,7 +149,7 @@ export async function augmentPages (routes: NuxtPage[], vfs: Record<string, stri
|
||||
}
|
||||
|
||||
if (route.children && route.children.length > 0) {
|
||||
await augmentPages(route.children, vfs)
|
||||
await augmentPages(route.children, vfs, augmentedPages)
|
||||
}
|
||||
}
|
||||
return augmentedPages
|
||||
|
Loading…
Reference in New Issue
Block a user