Skip to content

Commit ecb35d3

Browse files
committed
fix(nuxt): pass augmented pages to child paths
resolves #27781
1 parent ca9d982 commit ecb35d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/nuxt/src/pages/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ export async function augmentPages (routes: NuxtPage[], vfs: Record<string, stri
149149
}
150150

151151
if (route.children && route.children.length > 0) {
152-
await augmentPages(route.children, vfs)
152+
await augmentPages(route.children, vfs, augmentedPages)
153153
}
154154
}
155155
return augmentedPages

0 commit comments

Comments
 (0)