Armour / vue-typescript-admin-template

🖖 A vue-cli 3.0 + typescript minimal admin template
https://armour.github.io/vue-typescript-admin-template
MIT License
5.56k stars 1.75k forks source link

ie11 白屏 #148

Open GUEThe opened 4 years ago

GUEThe commented 4 years ago

image

herbert-hbt commented 4 years ago

I also run across the same issue. I have tried babel-polyfill but failed. Have you solved?

shf1325913748 commented 4 years ago

我也遇到过同样的问题。求help

只有一个警告,此页上的代码禁用了反向和正向缓存。有关详细信息,请参阅

weijie0 commented 4 years ago

此问题是fuse.js库不兼容, 可以在vue.config.js里配置如下选项: transpileDependencies: ['fuse.js'],

show110695 commented 3 years ago

vue.config.js里加transpileDependencies:["vuex-module-decorators"]

zxl925768661 commented 3 years ago

第一步: 配置.babelrc或者package.json文件 例如配置.babelrc: { "presets": [ [ "@babel/preset-env", { "useBuiltIns": "entry" } ] ] } 第二步: 引入'@babel/polyfill'; 并在main.ts 中引入 import "core-js/stable"; import "regenerator-runtime/runtime"; 应该可以解决; 具体参考了https://cli.vuejs.org/zh/guide/browser-compatibility.html#browserslist