bytev-charts-beta1.0
Version:
测试版-1.0,版本号为小版本; 基于echarts和JavaScript及ES6封装的一个可以直接调用的图表组件库,内置主题设计,简单快捷,且支持用户自定义配置; npm 安装方式: npm install bytev-charts 若启动提示还需额外install插件,则运行 npm install @babel/runtime-corejs2 即可;
12 lines (9 loc) • 459 B
JavaScript
import _classCallCheck from "@babel/runtime-corejs2/helpers/classCallCheck";
import _defineProperty from "@babel/runtime-corejs2/helpers/defineProperty";
//build原生压缩min版本时需要注释掉这些, 发布npm版本时打开
import * as echarts from 'echarts';
var ComponentPlugin = function ComponentPlugin() {
_classCallCheck(this, ComponentPlugin);
_defineProperty(this, "echarts", echarts || null);
};
export { ComponentPlugin as default };