Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vueApp.config.compilerOptions.isCustomElement should be used when resolving components #250

Open
JakeIsMeh opened this issue Aug 23, 2024 · 1 comment

Comments

@JakeIsMeh
Copy link

For accessibility reasons, I prefer to use rehype-katex in HTML mode rather than SVG mode.

However, this causes MDC (through @nuxt/content) to spam the console with [Vue warn]: Failed to resolve component warnings, which has caused me to miss various legitimate warnings during development.

This is despite having defined isCustomElement() because, to my understanding, it is not used when directly calling resolveComponent()

Related: nuxt/nuxt#24104

@JakeIsMeh
Copy link
Author

For anyone following this issue because of MathML tags (annotation, semantics, mfrac, etc), please follow #258 instead as that is the main issue affecting MathML usage with MDC (Vue has supported MathML since 3.4).

I won't close this issue though as it affects custom component usage with MDC regardless.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant