1.下載 HTML Snippets插件
2.打開setting.json文件,在里面添加如下代碼:
"emmet.triggerExpansionOnTab": true,
"emmet.includeLanguages": {
"vue-html": "html",
"vue": "html"
},
"files.associations": {
// extension name : html
"*.ejs": "html",
"*.js": "html"
}