-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Warning if component template contains comments #904
Comments
This is not a bug, just a warn in DEV |
There are two nodes in the example, one is the comment and the other is the element, and I think in this case the user wants to pass attributes to the element node, rather than remove comments or wrap them. |
Version
3.0.0-alpha.10
Reproduction link
https://codepen.io/a631807682/pen/KKpEexa?editors=1011
Steps to reproduce
Open the link and see the console.
What is expected?
Work like vue2.x https://codepen.io/a631807682/pen/yLNwEQb?editors=1011
What is actually happening?
Warning in console
Although it's not very important to me, I have many ways to avoid it, but it looks like a bug.
The text was updated successfully, but these errors were encountered: