import { App } from 'vue'
import { prefix } from '@packages/config'

import Charts from './index.vue'

Charts.install = function (app: App) {
    // 组件注册，按需引入
    app.component(`${prefix}${Charts.name}`, Charts)
    return app
}

export default Charts
