nuxt / content

The file-based CMS for your Nuxt application, powered by Markdown and Vue components.
https://content.nuxt.com
MIT License
3.08k stars 624 forks source link

docs: update ContentRenderer custom components #2433

Closed lukszy closed 10 months ago

lukszy commented 10 months ago

❓ Type of change

📚 Description

Updated the docs for ContentRenderer as it was misleading. When using custom components in a MD file, user should pass a map which should be

const components = {
  'custom-component': CustomComponentObject,
}

Hope that help

📝 Checklist

nuxt-studio[bot] commented 10 months ago

Live Preview ready!

Name Edit Preview Latest Commit
Content Edit on Studio ↗︎ View Live Preview 4f6a40fa2e47e819961723548bd8c74a3551175a