vscode设置Vue的模板

vscode设置Vue的模板

第一步
在这里插入图片描述
第二步
在这里插入图片描述
第三步 复制代码

"Print to console": {
    
    
		"prefix": "vue",
		"body": [
			"<template>",
			"   <div id='app'></div>",
			"</template>",
			"",
			"<script>",
			" var app = new Vue({",
			"  el:'#app', ",
			"   data: {",
			"   },",
			// "   components: {},",
			// "   computed: {},",
			"   methods: {}",
			"})",
			"</script>",
		],
		"description": "Log output to console"
	}

第四步 输入“vue”回车或者Tab键就行

猜你喜欢

转载自blog.csdn.net/weixin_49092628/article/details/111997588