npm install --save-dev babel-polyfill
安装babel-polyfill插件,然后修改build目录下webpack.base.conf.js
module.exports = {
entry:{
app: ["babel-polyfill", "./src/main.js"]
}
}
npm install --save-dev babel-polyfill
安装babel-polyfill插件,然后修改build目录下webpack.base.conf.js
module.exports = {
entry:{
app: ["babel-polyfill", "./src/main.js"]
}
}
本文标题:IE支持
本文链接:https://www.haomeiwen.com/subject/peqxzxtx.html
网友评论