feat: enhance blog components, improve routing, and add clean script for build process

This commit is contained in:
mahdiarghyani
2025-12-14 13:37:51 +03:30
parent 25aa41bcb8
commit c6b09fabc9
11 changed files with 117 additions and 37 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ const { extractUniqueTags, filterPostsBySearch, filterPostsByTag } = useBlog()
// Fetch posts using queryCollection (Nuxt Content v3 API)
const { data: posts } = await useAsyncData<any[]>(
`blog-posts-${locale.value}`,
() => `blog-posts-${locale.value}`,
async () => {
try {
// Use queryCollection for Nuxt Content v3