输入vue,选择编辑vue.json,插入json对象
{
"Print to console": {
"prefix": "vue",
"body": [
"<template>",
" <div class='$1'></div>",
"</template>",
"",
"<script>",
"export default {",
" name: '$1',",
" data(){",
" return {}",
" },",
" components: {},",
" created(){},",
" mounted(){},",
" methods: {}",
"}",
"</script>",
"<style lang='scss' scoped>",
"</style>",
""
],
"description": "Log output to console"
}
}