1.报错:
Import declarations are not supported by current JavaScript version.
2.解决:
工具栏:file - >setting -> Languages & Frameworks -> JavaScript -> React JSX
1.报错:
Import declarations are not supported by current JavaScript version.
2.解决:
工具栏:file - >setting -> Languages & Frameworks -> JavaScript -> React JSX