fix: always call hook pages:resolved

This commit is contained in:
Bobbie Goede 2024-09-05 23:00:54 +02:00
parent 9d387f722c
commit 0d35a27f0a

View File

@ -71,8 +71,8 @@ export async function resolvePagesRoutes (): Promise<NuxtPage[]> {
await nuxt.callHook('pages:extend', pages)
if (shouldAugment) {
await augmentPages(pages, nuxt.vfs)
await nuxt.callHook('pages:resolved', pages)
}
await nuxt.callHook('pages:resolved', pages)
return pages
}