点击settings.json中编辑,

把这段话加上去就可以了

"emmet.includeLanguages": {

         "javascript": "javascriptreact"

}

VSCode支持jsx自动补全

 

相关文章: