文件-首选项-用户代码片段-vue.json
{ "Print to console": { "prefix": "vue", "body": [ "<template>", " <div class="page"> ", " </div>", "</template> ", "<script type="text/ecmascript-6">", "export default {", " components: { ", " },", " data() {", " return { ", " }", " },", " methods: { ", " }", "}", "</script> ", "<style scoped lang="stylus">", "</style>", "$2" ], "description": "Log output to console" } }