How to solve the problem that element-react is referenced in react project and symbol is not defined in IE11?

but I read it. Why did I still report an error when I added the corresponding babel, to es6 in element-ui? Ask the god to give a diagnosis.

Mar.16,2021

has babel-polyfill been added?


if it's just a Symbol problem, recommend a plug-in es6-symbol . After installation, click import in the entry file


.

I have the same problem, and the solution is as follows

you can add polyfill to the entry file of the code to be bundled with the rest of the JavaScript.

:

require('babel-polyfill');
:

import 'babel-polyfill';
Menu