1.打开VScode   

2.文件>首选项>设置

3.加上以下配置项就可以了

"emmet.includeLanguages": {
        "javascript": "javascriptreact"
    }

  

VScode设置jsx语法自动补全

 

相关文章: