Cannot use <slot> inside component
I get infinite warn like this:
when I create on new nuxt, nuxt-content, nuxt-icon:
Section.vue:
Container.vue:
index.md:
when I create on new nuxt, nuxt-content, nuxt-icon:
Section.vue:
Container.vue:
index.md:
Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead<template>
<div>
<ContentSlot name="title" />
<div>
<slot/>
</div>
</div>
</template><template>
<div>
<slot />
</div>
</template>::section
#title
My title
#default
::::container
Test
::::
::