/* * @Author: wei.li * @Date: 2021-11-17 16:02:30 * @LastEditors: wei.li * @LastEditTime: 2023-03-30 09:11:42 * @Description: file content */ import type { App } from 'vue'; import bar from './src/EchartBar.vue'; import reGithub from './src/UserInfo.vue'; import line from './src/echart-line.vue'; import pie from './src/echart-pie.vue'; export const ChartBar = Object.assign(bar, { install(app: App) { app.component(bar.name, bar); } }); export const ReGithub = Object.assign(reGithub, { install(app: App) { app.component(reGithub.name, reGithub); } }); export const ChartLine = Object.assign(line, { install(app: App) { app.component(line.name, line); } }); export const ChartPie = Object.assign(pie, { install(app: App) { app.component(ChartPie.name, pie); } });