Nuxt Content v3-alpha has been released!

Try it out

You are reading Nuxt Content V1 documentation. Read the latest version

Getting Started

Introduction

Empower your NuxtJS application with the @nuxt/content module: write in a content/ directory and fetch your Markdown, JSON, YAML and CSV files through a MongoDB-like API, acting as a Git-based Headless CMS.

Features

  • Blazing fast hot reload in development
  • Vue components in Markdown
  • Full-text search
  • Support static site generation with nuxt generate
  • Powerful QueryBuilder API (MongoDB like)
  • Syntax highlighting to code blocks in markdown files using PrismJS.
  • Table of contents generation
  • Handles Markdown, CSV, YAML, JSON(5), XML
  • Extend with custom parsers
  • Extend with hooks

Videos

Demonstration of using $content and <nuxt-content> to display Markdown pages:

Using $content() on a directory to list, filter and search content:

Tutorial

Create a blog with Nuxt Content

Testimonials