problem: there is no problem under chrome, FF or Edge. IE11 reports syntax error:
:
solution that has been tried:
-
All the solutions to this problem on
- sf have been tried, some say it is caused by webpack-dev-server, but the project is still running after being packaged (the error location is that ie does not recognize the class class).
- invalid introduction of babel-polyfill