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