Reputation: 919
I am very new to Vue Js (Node Version v10.16.3) and (NPV version 6.9.0)
and I couldn't figure out how to fix HTML snippet issue.
I installed Vetur 0.22.2 and VueCSCodeSnippets 1.8.0 but still when i type closing/end tag doesn't come after. I need to type
</div> or </h1> </form> everytime i use.
But if I type then comes after, or If i type rest of the end tag comes auto.
<script>
export default {
}
</script>
Upvotes: 3
Views: 2331
Reputation: 919
I found the answer by watching one of youtube video. If I start typing with "<" it doesn't work. I need to just type "div" or "h" etc.. without this symbol "<"
Upvotes: 7
Reputation: 2039
you need some plugin to do the stuff, here I'm sharing one but there are a lot of others as well.
https://marketplace.visualstudio.com/items?itemName=formulahendry.auto-close-tag
Upvotes: 5