src/main.js @@ -17,6 +17,10 @@ import 'babel-polyfill' import promise from 'es6-promise' import * as echarts from 'echarts' Vue.prototype.$echarts = echarts promise.polyfill() Vue.use(Element, {