vue代码片段

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

资料地址

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



原文地址:https://www.cnblogs.com/shiazhen/p/13048015.html