Nuxt Content

Nuxt Content 让你在一个内容/目录中写作,并通过类似 MongoDB 的 API 获取你的 Markdown、JSON、YAML、XML 和 CSV 文件,充当一个基于 Git 的无头 CMS。「Nuxt Content lets you write in a content/ directory and fetch your Markdown, JSON, YAML, XML and CSV files through a MongoDB like API, acting as a Git-based Headless CMS」

Github stars Tracking Chart

nuxt-content-social-card

Nuxt Content

npm version
npm downloads
License
Nuxt
Volta

Nuxt Content reads the content/ directory in your project, parses .md, .yml, .csv or .json files and creates a powerful data layer for your application. Bonus, use Vue components in Markdown with the MDC syntax.

Features

  • Nuxt 3 support
  • A Markdown syntax made for Vue components (MDC)
  • Navigation generation
  • Code highlighting with Shikiji
  • Blazing fast hot module replacement in development
  • Powerful query builder (MongoDB like)
  • Table of contents generation
  • Also handles CSV, YAML and JSON(5)
  • Extend with hooks and content plugins
  • ... and more

Nuxt 2

Nuxt 2 is supported with Content v1, documentation is on https://content.nuxt.com/v1 and the code on the v1 branch.

💻 Development

[!NOTE]
This repository uses bash scripts for development and testing. If you are on Windows, you can use WSL or Git Bash.

  • Clone repository
  • Install dependencies using pnpm install
  • Prepare using pnpm prepare
  • Build using pnpm build
  • Try playground using pnpm dev
  • Test using pnpm test

License

MIT - Made with 💚

Main metrics

Overview
Name With Ownernuxt/content
Primary LanguageTypeScript
Program languageVue (Language Count: 3)
PlatformLinux, Mac, Windows
License:MIT License
所有者活动
Created At2020-03-31 13:09:51
Pushed At2025-06-07 03:34:11
Last Commit At
Release Count173
Last Release Namev3.5.1 (Posted on 2025-04-24 17:23:18)
First Release Namev0.0.1 (Posted on 2020-04-20 17:06:42)
用户参与
Stargazers Count3.4k
Watchers Count24
Fork Count696
Commits Count3.2k
Has Issues Enabled
Issues Count1502
Issue Open Count171
Pull Requests Count1316
Pull Requests Open Count10
Pull Requests Close Count203
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private