Why does it tell me that , Cannot use import statement outside a module while import ReactJs

后端 未结 0 1736
长发绾君心
长发绾君心 2021-02-13 21:23

When I import React and ReactJs DOM, it\'s showing an error:

Uncaught SyntaxError: Cannot use import statement outside a module

HTML Code: HTML C

相关标签:
回答
  • 消灭零回复
提交回复
热议问题