Vue-cli opens the white screen in ie.

vue-cli opens a white screen in ie (except Google and Firefox)
is a white screen in ie, and there are no errors in the console.
an error will be reported when using a 360 secure browser

clipboard.png
index.html

clipboard.png
babel-polyfill

demo==> https://github.com/mazixiao

clipboard.png

can have a friend who knows well to take a look at it

Mar.25,2022

Today, I consulted my predecessors. Click on the location of the error message and locate it on the swiper plug-in. Generally, js referenced in node_modules is compiled into es5 (recognized by lower versions). In the referenced swiper, there is a swiper.esm.bundle.js, that is useful to es6 syntax (such as extend (.arg {}). As a result, the browser does not recognize the error

.

clipboard.png
finally, the escaped configuration is added to the configuration of webpack, which can now be opened in browsers such as ie,360

Menu