How to Create a Filter Component for NuxtJS Blogs

Опубликовано: 29 Сентябрь 2024
на канале: Nick Saraev
2,178
39

In this video, I'll show you how to create a computed property filter for your NuxtJS blog. I use TailwindCSS to style components, but if you don't use TailwindCSS, that's okay too!

This video uses a previously configured nuxt/content markdown CMS. If you're unfamiliar with nuxt/content, please check out their documentation below:

https://content.nuxtjs.org/

They have fantastic walkthroughs, and creating a blog listing page like mine is as simple as copying their async function, creating a /content/ folder, and adding the required frontmatter to your markdown files.