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星跟蹤圖

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 💚

主要指標

概覽
名稱與所有者nuxt/content
主編程語言TypeScript
編程語言Vue (語言數: 3)
平台Linux, Mac, Windows
許可證MIT License
所有者活动
創建於2020-03-31 13:09:51
推送於2025-08-03 04:15:11
最后一次提交
發布數177
最新版本名稱v3.6.3 (發布於 2025-07-04 13:18:11)
第一版名稱v0.0.1 (發布於 2020-04-20 17:06:42)
用户参与
星數3.4k
關注者數24
派生數705
提交數3.2k
已啟用問題?
問題數1544
打開的問題數175
拉請求數1345
打開的拉請求數16
關閉的拉請求數208
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?