html
选择目标文件夹,新建一个拓展名为html的文件:
在第1行输入!(英文状态下),按tab键,新建成功。
vue
![](https://img.haomeiwen.com/i2267599/00aa24fc0c2054d1.png)
![](https://img.haomeiwen.com/i2267599/130d37c454898dd6.png)
![](https://img.haomeiwen.com/i2267599/9aa0082f9ba39c2e.png)
"Print to console":{
"prefix": "vue",
"body": [
"<template>",
" <div class=\"wrapper\">$0</div>",
"</template>",
"",
"<script>",
"export default {",
" components:{},",
" props:{},",
" data(){",
" return {",
" }",
" },",
" watch:{},",
" computed:{},",
" methods:{},",
" created(){},",
" mounted(){}",
"}",
"</script>",
"<style lang=\"scss\" scoped>",
".wrapper{}",
"</style>"
],
"description": "A vue file template"
}
最后
![](https://img.haomeiwen.com/i2267599/3522b2336e3561d1.gif)