AliAzra
AliAzra

Reputation: 919

HTML end tags doesn't comes in snippet inside Vue templates

I am very new to Vue Js (Node Version v10.16.3) and (NPV version 6.9.0)enter image description here 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

Answers (2)

AliAzra
AliAzra

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

Asim Khan
Asim Khan

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

enter image description here

Upvotes: 5

Related Questions