mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
fix(nuxt): prevent losing pages routes on prerender (#26354)
This commit is contained in:
parent
0bc49eb0ca
commit
7284e70de9
@ -293,8 +293,8 @@ export default defineNuxtModule({
|
||||
if (route === '/') { continue }
|
||||
prerenderRoutes.add(route)
|
||||
}
|
||||
nitro.options.prerender.routes = Array.from(prerenderRoutes)
|
||||
}
|
||||
nitro.options.prerender.routes = Array.from(prerenderRoutes)
|
||||
})
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user