Article From:https://segmentfault.com/q/1010000011704483
Question:

1.This is my VSCode’s vue.json.

2.This is my plug-in installed.

I followed the tutorial I found in SF and restarted VSCode. When I rebuilt a new Vue file, I typed vuec. I still didn’t respond. I hope God can help me to answer the question.

Answer 0:

1,User code snippets are built-in features of vscode, not plug-ins, at most a plug-in that recognizes the type of Vue file (the lower right smiling face shows the Vue on the left)
2,There is an option before you create a new snippet file to let you choose which language to ensure that Vue is selected. When using, make sure that the bottom right file type is Vue.

There are no problems with these two points.

Similar Posts:

Link of this Article: Code snippet of VSCode Vue

Leave a Reply

Your email address will not be published. Required fields are marked *