NuxtN
Nuxt8mo ago
6 replies
envizar

nuxt content order by deep value

like
const route = useRoute()
const { data } = await useAsyncData(route.path, () => {
  return queryCollection('docs')
    .order('props.date', 'DESC')
    .all()
})


but it won't work cuz props.date isn't keyof Collection
Was this page helpful?