Nuxt Content ContentSlot and "property was accessed but is not defined"
For Nuxt Content I wrote a simple card component that wraps Nuxt UI's "UCard" so that in markdown I can write this
The component is defined as this:
But when loading the page I get swamped with a few "property was accessed but is not defined" Vue warn warnings
Is there anything special I need to write in the component that I missing?
These warnings do not occur for
<slot />
, only for <content-slot>
.
And it doesn't look related to UCard, since if I replace u-card
with just div
(and remove #header
/#footer
from the template tags) I get the same warnings.0 Replies