Vue-cli3 creation project reported an error in ie

multiple definitions of an attribute are not allowed in the output
SCRIPT1046: strict mode in the ie console.

related dependencies:

"dependencies": {
    "axios": "^0.18.0",
    "qs": "^6.5.2",
    "vue": "^2.5.17",
    "vue-axios": "^2.1.3",
    "vue-echarts": "^3.1.2",
    "vue-filter": "^0.2.5",
    "vue-i18n": "^8.1.0",
    "vue-lottie": "^0.2.1",
    "vue-router": "^3.0.1",
    "vuex": "^3.0.1"
  }

in babel.config.js:

module.exports = {
  presets: [
    ["@vue/app", {
      polyfills: [
        "es6.promise"
      ]
    }]
  ]
}

1, when looking up the relevant information, it is said that the attribute is repeatedly defined, but I have been looking for it for a long time and have not found where the definition is duplicated. Is there a better way to find out the reason more quickly?
2. How to solve this problem in IE?

=

in the end, this problem is due to the problem of duplicate definition in one of the component libraries introduced. The component library has been changed and updated and the ok has been changed.


vue-cli3 vue.config.js crater summary demo: https://juejin.im/post/5bd02f.

Menu