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

This issue has been created 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-09-27
Star Count 199644
Watcher Count 6098
Fork Count 32848
Issue Count 587

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
Can django-scheduler coordinate schedules of two third party users with each others calendar? 0 2022-08-02 2022-09-24
Changes to files should have unix file separators instead of system default 7 2021-12-02 2022-09-17
wrapperscript cudaaligner problems 2 2020-05-15 2022-09-24
fix: nuxtServerInit not working with nuxt-vite 3 2021-08-08 2022-08-04
Certain songs not loading in 1 2022-01-20 2022-06-27
Self roles through reaction 0 2019-10-21 2022-07-30
Workflows horizontal scaling 4 2021-09-14 2022-09-24
Consider xarray and/or built-in "array metadata" support? 1 2022-01-16 2022-09-05
Why limit the number of objects to 20? 1 2021-12-12 2022-07-18
Remove conflicting dao member in Repository classes 0 2021-12-31 2022-07-18
Format specifiers should be used instead of string concatenation. 3 2021-12-31 2022-01-15
Fix errors flagged by sonarcloud - define a constant instead of duplicating string literal 2 2021-12-31 2022-09-08
Remove public modifier for test methods in all the JUNIT tests 2 2021-12-31 2022-09-16
Remove unused code in JsonUtils 0 2021-12-31 2022-07-13
Black screen with sound 10 2020-06-18 2022-07-29
Cannot implement an interface that extends another interface 5 2022-05-05 2022-09-25
CVE-2021-40690 (High) detected in xmlsec-1.4.8.jar 0 2021-09-27 2022-09-25
[Bug]: Can't launch graphical wine applications 16 2022-09-14 2022-09-18
Deprecated controls 0 2019-07-05 2022-01-16
Epub viewer Table of Contents isn't working 7 2021-12-14 2022-09-26
ERROR: pull access denied for janusgatewaydocker, repository does not exist or may require 'docker login': denied: requested access to the resource is denied 1 2021-06-26 2022-09-14
Clarify On-page code no longer runnable 0 2021-07-08 2022-09-16
test that function with interactive code examples has an EXAMPLES header 0 2021-10-08 2022-09-24
Whitespaces removed with custom highlight function 2 2021-10-12 2022-07-14
Add Digital Music Stand 0 2020-06-20 2022-09-18
Document "secrets" behaviors 0 2022-04-08 2022-08-17
Actor gets ORomancePlayerWaitPackage stuck on them. 2 2021-05-13 2022-09-11
Type and scope declaration conflicts in stdgates.inc 18 2021-12-08 2022-09-24
How to remove a used namespace? 0 2022-02-21 2022-08-29
Collaborators needed 0 2021-09-17 2022-07-05
`setStage` in `turn.onBegin` always uses playerID 0 0 2021-08-12 2022-09-06
Bug in function `all` 17 2022-06-02 2022-07-30
[rl-contributor_file-1] Contributor information file could not be found! 1 2021-05-04 2022-09-16
[rl-readme_file-2] README is incomplete. Please check the following sections: Requirements, Download and Installation, Support, Licensing 1 2021-05-04 2022-09-25
How to set priority of a job? 3 2022-01-27 2022-09-24
[Bug] Bash's syntax highlighting mishandles `'` in comments 1 2022-06-15 2022-09-18
[Safari] Pasting image from Chrome to Safari strips `src` attribute 1 2022-01-19 2022-09-26
Fix SIGSEGV in 0x187db4000 + 153648 0 2022-08-02 2022-09-22
LD_LIBRARY_PATH 在k8s环境被替换,应该是追加 3 2021-02-01 2022-09-11
Internal error occurred: failed calling webhook "webhook.cert-manager.io" 22 2020-10-26 2022-08-19
OSCAL Website/Tools update with new information 3 2021-07-12 2022-09-24
Missing valid range and Exceptions thrown 3 2021-12-22 2022-07-14
Ensure that all basic pipeline steps are mocked 0 2022-04-14 2022-09-18
🐛 Bug Report: appwrite v0.12.0.200 is unable to check for a newer version 3 2022-01-13 2022-09-24
Error compiling through cmake on aarch64 platform 3 2022-01-10 2022-09-16
[BUG] - Folder with name Reports does not execute any tests in that folder 4 2021-11-17 2022-09-03
Installing Jupyter globally (nixos-rebuild) 3 2020-08-22 2022-09-15
how to do define TaskExecutor in Spring StateMachine 3.0.1 0 2022-08-09 2022-09-17
Switch to CMAKE_BUILD_TYPE from BUILD_TYPE 1 2020-01-16 2022-09-15
‘-Werror=implicit-function-declaration’ is not valid for C++ 2 2019-09-04 2022-09-26