npm install babel-polyfill --save-dev
在main.js中添加:
import 'babel-polyfill'
在webpack.base.conf.js中修改
module.exports = {
entry: ["babel-polyfill", "./app/js"]
};
npm install babel-polyfill --save-dev
在main.js中添加:
import 'babel-polyfill'
在webpack.base.conf.js中修改
module.exports = {
entry: ["babel-polyfill", "./app/js"]
};
本文标题:vue项目在IE上显示为空的问题
本文链接:https://www.haomeiwen.com/subject/wveorqtx.html
网友评论