How does vue comment on template?

use

to annotate a template
Jun.25,2021
Once again,

was confused. When I saw someone's code using / / mode comments, I doubted myself, so I tested it with a double slash, and the results were directly displayed on the page. So you can confirm that the double slash method is not allowed in vue.
it is clear that vue actually uses html syntax, and its annotation method is the same as html


is a normal HTML comment. I don't understand what you're asking.


wrap the template code. Guys upstairs can really fight


/ comments / @ < template > < / template >

Menu