vs code 设置 vue_html 代码段

2019独角兽企业重金招聘Python工程师标准>>> hot3.png

1. 按键 ctr+shift+p

    vs code 设置 vue_html 代码段_第1张图片

2.选择html.json ,加入如下代码:

	"vue html": {
        "prefix": "vh",
        "body": [
			"",
			"",
			"\t",
			"\t",
			"\tvue html demo",
			"\t",
			"\t",
			"\t",
			"\t\t
", "\t\t
", "\t\t", "\t", "" ], "description": "The full sample code - hello world." }

3.在新增的html 文件中按 vh 即可自动加入设置的代码块

转载于:https://my.oschina.net/codeTec/blog/2960618

你可能感兴趣的:(vs code 设置 vue_html 代码段)