How use NuxtContent to hydrate Vue Components using image path ?
Hi,
I'm creating a card component to display persons.
Like this:
Markdown content file :
Vue content file
But the src is not working with this approach.
How can I fix this?
2 Replies
You're trying to use a slot when you should be using a prop instead. Also How do you expect src to become imgSrc? I'd use a prop instead of slot for the source
Nuxt Content
Markdown - Nuxt Content
Nuxt Content uses the Markdown syntax and conventions to provide a rich-text editing experience.