Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

jml0128 / xrk-bi

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • xrk-bi
  • src
  • lib
  • index.js
  • jml0128's avatar
    feat:项目BI · e02d81d6
    jml0128 committed Jun 30, 2021
    e02d81d6
index.js 400 Bytes
BlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
/*
 * @Description:
 * @LastEditors: Please set LastEditors
 * @Date: 2021-01-28 23:29:19
 */
import Bi from '../packages/bi/index.js';

const components = [Bi];

const install = function(Vue) {
  components.forEach(component => {
    Vue.component(component.name, component);
  });
};

if (typeof window !== 'undefined' && window.Vue) {
  install(window.Vue);
}

export default {
  install,
  Bi
};