Tutorials Courses Interview Prep (100 Q&A) AI Tools (50) Developer Tools (50) Tracks Pricing Plans Blog & Articles Contact Us
Nuxt 3 Production & Server Architecture 16 mins read Free Lesson

Markdown Content Engine with @nuxt/content

Build blazing-fast documentation and blog tracks using queryContent() and MDC syntax.

Querying Markdown Content

<script setup>
const { data: article } = await useAsyncData('post', () => {
    return queryContent('tutorials').where({ slug: 'vue3' }).findOne()
})
</script>

<template>
    <main class="prose prose-invert">
        <ContentRenderer :value="article" />
    </main>
</template>