mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 07:05:11 +00:00
fix(nuxt): name
is an optional prop for <NuxtLayout>
This commit is contained in:
parent
1b1f194e64
commit
0d9a0b7538
@ -77,7 +77,7 @@ export default defineComponent({
|
||||
}
|
||||
}
|
||||
}) as unknown as DefineComponent<{
|
||||
name: unknown extends PageMeta['layout'] ? MaybeRef<string | false> : PageMeta['layout']
|
||||
name?: unknown extends PageMeta['layout'] ? MaybeRef<string | false> : PageMeta['layout']
|
||||
}>
|
||||
|
||||
const LayoutProvider = defineComponent({
|
||||
|
Loading…
Reference in New Issue
Block a user