fix(nuxt): prevent losing pages routes on prerender (#26354)

This commit is contained in:
zunderbolt 2024-03-18 20:27:18 +00:00 committed by GitHub
parent 0bc49eb0ca
commit 7284e70de9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -293,8 +293,8 @@ export default defineNuxtModule({
if (route === '/') { continue } if (route === '/') { continue }
prerenderRoutes.add(route) prerenderRoutes.add(route)
} }
nitro.options.prerender.routes = Array.from(prerenderRoutes)
} }
nitro.options.prerender.routes = Array.from(prerenderRoutes)
}) })
}) })