vue代码片段

根据vue风格指南,进行了实例的选项的顺序推荐

资料地址

{
	"Print to console": {
			"prefix": "vue",
			"body": [
					"<template>",
					"    <div>\n",
					"    </div>",
					"</template>\n",
					"<script>",
					"export default {",
					"     name:'',",
					"    components: {\n",
					"    },",
					"    props: {\n",
					"    },",
					"    data() {",
					"        return {\n",
					"        };",
					"    },",
					"    computed: {\n",
					"    },",
					"    watch: {\n",
					"    },",
					"    created() {\n",
					"    },",
					"    mounted() {\n",
					"    },",
					"    methods: {\n",
					"    },",
					"};",
					"</script>\n",
					"<style scoped lang=\"${1:scss}\">\n",
					"</style>\n",
			],
			"description": "Create vue template"
	}
}



posted @ 2020-06-05 09:58  阿臻  阅读(3894)  评论(0编辑  收藏  举报