An error occurred when I used the built-in component element in jsx

This issue has been tracked since 2022-08-29.

Version

2.6.14

Reproduction link

v2.cn.vuejs.org/v2/api/

Steps to reproduce

I used Vue.js built-in component element as follow:
"<component is={comp} />"
And const comp is a ComponentConstructor that was already imported from the other .vue file

What is expected?

Vue can recognise the built-in component element

What is actually happening?

The error "[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option." was print to Console


I wonder that it's a bug or becasue of jsx

posva wrote this answer on 2022-08-29

Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the forum, the Discord server or StackOverflow.

More Details About Repo
Owner Name vuejs
Repo Name vue
Full Name vuejs/vue
Language TypeScript
Created Date 2013-07-29
Updated Date 2022-10-03
Star Count 199758
Watcher Count 6095
Fork Count 32874
Issue Count 590

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date