Whitey
nuxt/content queryCollection not returning results when using .order()
Hey all - I'm using Nuxt Content for the first time and loving it but I've hit an issue with trying to order results from the queryCollection(). Here's my .md file frontmatter:
and i'm trying to query it like so:
Which isn't returning any results. But, if I take away the
date
part:
it does successfully return the content. I do see the following error in the logs for npm run dev
:
but I'm not really sure what to do with it. I've scanned the nuxt/content docs and AFAIK I'm doing this correctly.
Any help is appreciated!5 replies