• Documentation
  • Playground
  • Templates
  • Releases
InstallationConfigurationEdge ChannelMigration
Content DirectoryMarkdownJSON, YAML, CSVRender ContentSearchFetch NavigationTypeScript Support
queryContent()fetchContentNavigation()useContentHead()useContentHelpers()useUnwrap()searchContent()
<ContentDoc><ContentRenderer><ContentList><ContentNavigation><ContentQuery><ContentSlot>Prose Components
IntroductionuseContent()
HooksTransformersSitemap
Document Driven

Introduction

The Document-driven mode gives a lot more power to Markdown-based websites.


Prose Components

A list of Prose components currently implemented.

useContent()

The useContent() composable gives access to the current page, surrounding pages and global data.

  • Enable the mode
    • Existing project
    • Fresh project
  • Catch-all page
    • Page slots
  • Layout binding
  • Global variables
  • Extend global variables
  • Disable or control the page data
    • Disable document driven
    • Control data
    • Config content

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