1.npm install -save babel-polyfill
2.npm install --save es6-promise
3.main.js
import 'babel-polyfill' import Es6Promise from 'es6-promise' Es6Promise.polyfill()
4.webpack.base.conf.js
module.exports = vuxLoader.merge(webpackConfig, { entry: { app: ["babel-polyfill", "./src/main.js"] }, plugins: ['vux-ui'] })