diff --git a/packages/nuxt/src/pages/utils.ts b/packages/nuxt/src/pages/utils.ts index b89348ae6e..66997c121c 100644 --- a/packages/nuxt/src/pages/utils.ts +++ b/packages/nuxt/src/pages/utils.ts @@ -149,7 +149,7 @@ export async function augmentPages (routes: NuxtPage[], vfs: Record 0) { - await augmentPages(route.children, vfs) + await augmentPages(route.children, vfs, augmentedPages) } } return augmentedPages