原文鏈接; https://www.cnblogs.com/susu-yee/p/11533546.html
1、點擊【文件】---【首選項】---【用戶代碼片段】
2、新建或修改vue.json
3、將下列代碼粘貼上去(可根據自己需要添加/刪除)
{ "Print to console": { "prefix": "vue", "body": [ "<template>", " <div>\n", " </div>", "</template>\n", "<script>", "export default {", " data() {", " return {\n", " };", " },", " created() {\n", " },", " mounted() {\n", " },", " methods: {\n", " }", "};", "</script>\n", "<style scoped lang=\"${1:less}\">\n", "</style>\n", ], "description": "Create vue template" } }