1 parent 417beed commit f76f4bdCopy full SHA for f76f4bd
1 file changed
components/content/ArticlesList.vue
@@ -9,7 +9,7 @@ const props = defineProps({
9
})
10
11
// @ts-ignore
12
-const { data: _articles } = await useAsyncData('articles', async () => await queryContent(withTrailingSlash(props.path)).sort({ date: -1 }).find())
+const { data: _articles } = await useAsyncData(props.path, async () => await queryContent(withTrailingSlash(props.path)).sort({ date: -1 }).find())
13
14
const articles = computed(() => _articles.value || [])
15
</script>
0 commit comments