index.js 227 Bytes
import GlPopover from './src/index.vue'

// 为组件提供 install 安装方法,供按需引入
GlPopover.install = function(Vue) {
  Vue.component(GlPopover.name, GlPopover)
}

// 默认导出组件
export default GlPopover