vue-cli 兼容ie,vue項目兼容ie9.ie11

一、首先javascript npm install --save babel-polyfill 二、而後在main.js中的最前面引入babel-polyfillhtml import 'babel-polyfill' 三、在index.html 加入如下代碼(非必須)前端 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"
相關文章
相關標籤/搜索