Skip to content

<MDC> does not resolve local components #3656

@maximepvrt

Description

@maximepvrt

Environment

x

Version

v3.9.0

Reproduction

https://stackblitz.com/edit/github-vh7jfrrg?file=app%2Fcomponents%2Fcontent%2Ftest.vue,app%2Fpages%2F%5B...slug%5D.vue

Description

When using:

<MDC value=":custom-component" />

with Nuxt Content, the component is not rendered unless it is registered as a global component.

Would it be possible to add a Nuxt Content / MDC config option to force or extend global component resolution?

Additional context

No response

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions