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

HTML elements unsupported in component is #870

Closed
CyberAP opened this issue Mar 23, 2020 · 0 comments
Closed

HTML elements unsupported in component is #870

CyberAP opened this issue Mar 23, 2020 · 0 comments

Comments

@CyberAP
Copy link
Contributor

CyberAP commented Mar 23, 2020

Version

3.0.0-alpha.9

Reproduction link

https://codesandbox.io/s/clever-banach-vutvf

Steps to reproduce

  1. Create a component element with is attribute set to an HTML element string.

What is expected?

If no component is to be found it should simply use that string as a tag name. Or alternatively check if that string is a valid HTML built-in tag name.

What is actually happening?

Vue tries to find a component with such a name and fails to do so with a warning:

[Vue warn]: Failed to resolve component: span 
  at <App> "" 
  at <Anonymous> (Root) 
[Vue warn]: Invalid vnode type when creating vnode: undefined. 
  at <App> "" 
  at <Anonymous> (Root) 
@github-actions github-actions bot locked and limited conversation to collaborators Nov 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant