Mike
Exposed values in a queryCollection
Hi, I'm trying to output my Front Matter data in a .
vue
file, but something seems off. I'm wondering if I might have missed something that explains this behavior.
Example markdown file:
example .vue
file:
In the example above, I can access recipe.title
and recipe.description
directly, but I have to use recipe.meta.image
to access the image value. Is this the expected behavior for @nuxt/content
? Shouldn't the image field be available in the same way as title and description?
Any help in understanding why this happens or how to configure it differently (better?) would be appreciated!9 replies