文件-首选项-用户代码片段-搜索“vue”点击进入vue.json

 

 

复制这个片段

 1 {
 2     "Vue component": {
 3         "prefix": "vue",
 4         "body": [
 5             "<template>",
 6             "\t$1",
 7             "</template>",
 8             "<script>",
 9             "export default {",
10             "\t",
11             "}",
12             "</script>",
13             "<style scoped>",
14             "</style>",
15             ""
16         ]
17     }
18 }

重启vscode

输入vue即可

 

 

若有不明白请加群号:复制 695182980 ,也可扫码,希望能帮助到大家。

vscode之快速生成vue模板                                      

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-07
  • 2022-12-23
  • 2022-12-23
  • 2022-01-03
猜你喜欢
  • 2021-10-03
  • 2021-04-17
  • 2022-12-23
  • 2021-08-20
  • 2021-04-20
相关资源
相似解决方案