fix(nuxt): pass augmented pages to child paths

resolves https://github.com/nuxt/nuxt/issues/27781
This commit is contained in:
Daniel Roe 2024-06-30 01:45:34 +01:00
parent 82595fe77a
commit b2c5353525
No known key found for this signature in database
GPG Key ID: CBC814C393D93268
1 changed files with 1 additions and 1 deletions

View File

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