vue-echarts-v3
Version:
Vue.js component wrap for ECharts.js(v3.x+)
23 lines (17 loc) • 458 B
JavaScript
import * as ECharts from 'echarts/lib/echarts';
import Wrapper from './wrapper.js';
const IEcharts = Wrapper(ECharts);
IEcharts.__echarts__ = ECharts;
export default IEcharts;
// const install = function(Vue, opts) {
// Vue.component(IEcharts.name, IEcharts);
// };
// if (typeof window !== 'undefined' && window.Vue) {
// install(window.Vue);
// }
// const API = {
// // version: '2.7.0',
// install,
// IEcharts
// };
// export default API;