Edit your Nuxt Content websites in production with live preview

Try it now!
  • Get Started
  • Guide
  • API
  • Examples
  • Changelog
  • Playground
    • Hello World
    • Document Driven
    • Inline components
    • Nested components
    • Props
    • Slots
    • Where
    • Only
    • Without
    • Skip & Limit
    • fetchContentNavigation
    • useRoute
    • Content Wind

Nested components

The MDC syntax allow you to nest components within a parent slot using indentation and the :: syntax.

The components/AppNested.vue component uses the <ContentSlot> component as markdown-rendering slot.

Read more in Guide > Writing > Mdc #nesting.
Loading Sandbox...
Edit this page on GitHub
MdcInline components
MdcProps

Powered by Docus