vue代碼片段

{

	"vue-template": {//模板名称
	
			"prefix": "vue",//触发条件
	
			"body": [//内容
	
							"<!--",
	
							"* @description ",
	
							"* @fileName  ${TM_FILENAME_BASE}",
	
							"* @author aaaa",
	
							"* @date ${CURRENT_YEAR}-${CURRENT_MONTH}-${CURRENT_DATE} ${CURRENT_HOUR}:${CURRENT_MINUTE}:${CURRENT_SECOND}",
	
							"!-->",
	
							"<template>",
	
							"  <div class='${TM_FILENAME_BASE}'>",
	
							"  </div>",
	
							"</template>",
	
							"",
	
							"<script>",
	
							"export default {",
	
							"  props: { ",
	
							"  },",
	
							"  name: '${TM_FILENAME_BASE}',",
	
							"  data () {",
	
							"    return {",
	
							"",
	
							"    }",
	
							"  },",
	
							"  methods: {"
	
							"",
	
							"\t},",
	
							"  mounted () { "
	
							"",
	
							"\t},"
	
							"}",
	
							"</script>",
	
							"<style scoped lang='scss'>",
	
							"</style>"
	
			],
	
			"description": "vue代码片段" //描述
	
	}
	
	}

{
	"Print to js method": {
	  "prefix": "zs",
	  "body": [
		"/**",
		" *@Description ",
		" *@Author aaa",
		" *@Date ${CURRENT_YEAR}-${CURRENT_MONTH}-${CURRENT_DATE} ${CURRENT_HOUR}:${CURRENT_MINUTE}:${CURRENT_SECOND}",
		" *@Param {}",
		"*/"
	  ],
	  "description": "A function comment"
	}
}