• Documentation
  • Playground
  • Templates
  • Releases

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

IntroductionInstallationWriting contentFetching contentDisplaying contentConfigurationAdvanced
Basic UsageTailwindCSSDocs Theme
SnippetsIntegrations
Getting Started

Fetching content

Learn how to fetch your static content with $content in your Nuxt.js project.


Writing content

Learn how to write your content/, supporting Markdown, YAML, CSV and JSON.

Displaying content

You can use `<nuxt-content>` component directly in your template to display your Markdown.

  • Methods
    • $content(path, options?)
    • only(keys)
    • without(keys)
    • where(query)
    • sortBy(key, direction)
    • limit(n)
    • skip(n)
    • search(field, value)
    • surround(slugOrPath, options)
    • fetch()
    • catch()
  • Example

Community

Edit this page Star on GitHub Chat on Discord Become a Sponsor Nuxt docs

Ecosystem

Nuxt Studio
  • Documentation
  • Playground
  • Templates
  • Releases
Published under MIT License