Rizal Renaldi

← Back

Nuxt Content by Category

Displaying posts only on specific category using AsyncData

code

What to achieve:
Displaying posts on specific category in Nuxt Content using AsyncData

The filtering occur in line 3 using .where and $contains with the category name as parameter.

The Blog of Rizal Renaldi

2025 © rizalrenaldi.com — Made with 🖖