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-10-26 07:03:26
最后一次提交
发布数179
最新版本名称v3.7.1 (发布于 2025-09-16 18:06:02)
第一版名称v0.0.1 (发布于 2020-04-20 17:06:42)
用户参与
星数3.5k
关注者数18
派生数723
提交数3.3k
已启用问题?
问题数1585
打开的问题数168
拉请求数1377
打开的拉请求数15
关闭的拉请求数222
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?