JSPM

  • Created
  • Published
  • Downloads 76460
  • Score
    100M100P100Q143852F
  • License MIT

Write your content inside your Nuxt app

Package Exports

  • @nuxt/content
  • @nuxt/content/transformers
  • @nuxt/content/transformers/component-resolver
  • @nuxt/content/transformers/csv/create-tokenizer
  • @nuxt/content/transformers/csv/from-csv
  • @nuxt/content/transformers/csv/index
  • @nuxt/content/transformers/csv/parser
  • @nuxt/content/transformers/index
  • @nuxt/content/transformers/json
  • @nuxt/content/transformers/markdown
  • @nuxt/content/transformers/path-meta
  • @nuxt/content/transformers/shiki/highlighter
  • @nuxt/content/transformers/shiki/index
  • @nuxt/content/transformers/shiki/languages/mdc.tmLanguage
  • @nuxt/content/transformers/shiki/shiki
  • @nuxt/content/transformers/utils
  • @nuxt/content/transformers/yaml

Readme

nuxt-content

npm version npm downloads License Nuxt Volta

Nuxt Content

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 Shiki
  • 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.nuxtjs.org/content-v1 and the code on the v1 branch.

💻 Development

  • Clone repository
  • Install dependencies using yarn install
  • Prepare using yarn prepare
  • Try playground using yarn dev

License

MIT - Made with 💚