problem description
IE11 reports the following error:
[vuex] vuex requires a Promise polyfill in this browser.
the environmental background of the problems and what methods you have tried
developers have not found any problems under chrome. Today, tests under ie found compatibility errors.
similar to symbol
nonexistent errors
so they tried to add polyfill
to the project. According to the official document:
issue</a><br> import "es6-promise/auto"
..
<ol><li></ol>
"@vue/cli-plugin-babel": "^3.1.1",
:
entry: {
app: ["babel-polyfill", "./src/main.js"]
}
this project is a multi-page application built with vue-cli3, so you can"t configure it all over and over again.
I finally compromised and configured each page entry:
{entry: ["@ babel/polyfill", "xxx/index.js"]
the result was mercilessly rejected: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type object
I am desperate now.