vue Ken'yo ie

1, the installation babel-polyfillpackage;

npm install babel-polyfill --save-dev

2, the main.jsintroduction of the file babel-polyfill;

import 'babel-polyfill'

3, the build folder webpack.base.config.jswill be entryin the app: './src/main.js'configuration

app: './src/main.js' app: ['babel-polyfill', './src/main.js'] read: ;

 

 Once configured, re-package upload, it can display properly in IE browser

Guess you like

Origin www.cnblogs.com/yuwen1995/p/11510922.html