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

fix: misuse Dom's Comment element constructor as a vnode type #4451

Merged
merged 2 commits into from
Sep 1, 2021

Conversation

liximomo
Copy link
Member

@liximomo liximomo commented Aug 26, 2021

image

We want to create a commet node at here but forget to import the Comment symbol. The Comment constructor from dom has been used, then we get the error:

image

@liximomo liximomo changed the title "fix: misuse Dom's Comment element constructor as a vnode type" fix: misuse Dom's Comment element constructor as a vnode type Aug 26, 2021
@yyx990803 yyx990803 merged commit ef5b731 into vuejs:master Sep 1, 2021
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

Successfully merging this pull request may close these issues.

2 participants