简体   繁体   中英

Vue CLI 3.0 project not working on IE11, SCRIPT1003: Expected ':' error with blank screen

this is in my package.json file

"browserslist": [ "> 1%", "last 2 versions", "not ie <= 8" ]

also i have tried to install babel-polyfill but no luck.

Please note that i want to use method shorthand and other es6 syntax.

I found the solution for this. putting here if someone face the same issue. Issue was, i have installed "vue-offline": "^1.0.204" plugin, and that was creating issue in ie. this is not supporting in vue cli 3.0. you need to upgrade this plugin with the latest one to fix this.

with vue cli 3.0 it is not required to install any polyfil externally to support legacy browsers, vue cli is taking care of all this.

Thanks for your support.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM