mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 07:05:11 +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) {
|
||||
await augmentPages(route.children, vfs)
|
||||
await augmentPages(route.children, vfs, augmentedPages)
|
||||
}
|
||||
}
|
||||
return augmentedPages
|
||||
|
Loading…
Reference in New Issue
Block a user