Back to docs

Getting Started with Nuxt Content v3

Nuxt Content v3 allows you to write content in Markdown files and query them easily.

Writing Content

Create .md files in the content/ directory. You can add frontmatter with metadata:

---
title: My Page
description: A description
date: 2025-12-18
---

Querying Content

Use the queryContent() composable to fetch your content:

<script setup lang="ts">
const { data } = await useAsyncData('content', () => 
  queryContent('/').find()
)
</script>

MDC Syntax

Nuxt Content v3 supports MDC (Markdown Components) syntax:

This is an alert component in Markdown!

Next Steps