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"
	}
}




免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM