Vue application, IE browser (8murmur11) can not be opened.

Vue application, IE browser (8Murray 11) can not be opened, other browsers are normal. When IE is opened, it is blank. The error is as follows:

/ harmony default export / _ webpack_exports__ ["a"] = (function (instance, eventList) {
const ev = eventList | | WEBPACK_IMPORTED_MODULE_0__events_js "a" / default /) (this.$options._componentTag)]
ev & & ev.forEach (event = > {

)
const hasOn = event.slice(0, 2) === "on"
const eventName = hasOn ? event.slice(2) : event
const listener = this.$listeners[eventName]
listener && instance.addEventListener(event, listener.fns)

})
});


is not the problem of babel-poyfill, but your babel is not configured right, check the configuration of babel and es2015, etc., because your arrow functions are not converted, this is the problem of babel, is that js syntax has not been converted


I also encountered a similar problem, and finally found a solution. First of all, add babel-polyfill. as mentioned above. If it doesn't work, proceed to the next step:
image
vue-baidu-mapnode_modulescomponents
babel node_modules IE


vue-baidu-map

clipboard.png

IE

clipboard.png

clipboard.png

then re-run dev, found that it was normal under IE.

reference:
https://dafrok.github.io/vue-.

Menu