-
-
Notifications
You must be signed in to change notification settings - Fork 725
Open
Labels
Description
Environment
- Operating System:
Mac - Node Version:
v16.16.0 - Nuxt Version:
3.0.0 - Package Manager:
[email protected]
Reproduction
Reproduction Link: Link
Describe the bug
- Put
NuxtLayoutcomponent inapp.vue
<template>
<div>
<NuxtLayout>
<NuxtPage />
</NuxtLayout>
</div>
</template>
- Enable document driven feature in
nuxt.config.ts - Create 2 layouts, 1 for default layout, 1 for custom layout
- Create 2 markdown file and specify the layouts made in previous step
---
layout: default
------
layout: custom
---When using layout binding as instructed here, instead of replacing the default layout with the custom layout, custom layout is put within the <slot /> of the default layout (so two layouts showing).
Additional context
Might be related to this PR from nuxt/framework.
Logs
No response
ShuJun-Junical