【webStorm】Import declarations are not supported

1.报错:
Import declarations are not supported by current JavaScript version.

2.解决:
工具栏:file - >setting -> Languages & Frameworks -> JavaScript -> React JSX

clipboard.png

评论

暂无评论