diff --git a/packages/nuxt/src/app/components/nuxt-layout.ts b/packages/nuxt/src/app/components/nuxt-layout.ts index b18cc84a38..af9b922034 100644 --- a/packages/nuxt/src/app/components/nuxt-layout.ts +++ b/packages/nuxt/src/app/components/nuxt-layout.ts @@ -77,7 +77,7 @@ export default defineComponent({ } } }) as unknown as DefineComponent<{ - name: unknown extends PageMeta['layout'] ? MaybeRef : PageMeta['layout'] + name?: unknown extends PageMeta['layout'] ? MaybeRef : PageMeta['layout'] }> const LayoutProvider = defineComponent({