bin-charts-next
Version:
基于echarts的 vue插件,用于配合实现图表组件
20 lines (13 loc) • 458 B
JavaScript
import Charts from './components/charts'
import log from './utils/log'
import config from '../package.json'
const version = config.version // version_ to fix tsc issue
const install = function (app, options = {}) {
app.component(Charts.name, Charts)
if (!options.disabledDoc) {
log.printVersion(config.name, config.version, config.homepage, '#11afaf')
}
return app
}
export { Charts }
export default { version, install }