简体   繁体   English

在反应片段中使用语法形式时,编辑器文本颜色将被更改。 如何解决这个问题呢

[英]When use Syntactical form in react fragment then the editor text color will be changed. How to solve this problem

Here give the problem screenshot.这里给出问题截图。 How to solve this problem.如何解决这个问题呢。 have any away for solve this problem有什么办法解决这个问题

[1]: https://i.stack.imgur.com/aHUvg.png reactFragment [1]: https://i.stack.imgur.com/aHUvg.png reactFragment

Change your file extention to.jsx.将文件扩展名更改为.jsx。 Happens all the time.无时无刻不在发生。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM