We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
/
1 parent a42c1c8 commit cfe155fCopy full SHA for cfe155f
playground/pages/index.vue
src/module.ts
@@ -141,6 +141,10 @@ export default defineNuxtModule<ModuleOptions>({
141
142
nuxt.hook('pages:extend', pages => {
143
routes.length = 0
144
+ routes.push(
145
+ '/',
146
+ ...((nuxt.options.nitro.prerender?.routes || []) as string[])
147
+ )
148
function processPages(pages: NuxtPage[], currentPath = '') {
149
for (const page of pages) {
150
if (page.path.includes(':')) continue
0 commit comments