fix: force boolean

This commit is contained in:
Daniel Roe 2024-10-09 17:22:30 +02:00
parent 671c56b669
commit 65ae8b25d9
No known key found for this signature in database
GPG Key ID: CBC814C393D93268

View File

@ -498,7 +498,7 @@ export default defineNuxtModule({
const { routes, imports } = normalizeRoutes(app.pages, new Set(), { const { routes, imports } = normalizeRoutes(app.pages, new Set(), {
serverComponentRuntime, serverComponentRuntime,
clientComponentRuntime, clientComponentRuntime,
overrideMeta: nuxt.options.experimental.scanPageMeta, overrideMeta: !!nuxt.options.experimental.scanPageMeta,
}) })
return [...imports, `export default ${routes}`].join('\n') return [...imports, `export default ${routes}`].join('\n')
}, },