UNPKG

create-iking-admin

Version:

金合技术中台脚手架

33 lines (27 loc) 933 B
/* * @Author: wfl * @LastEditors: wfl * @description: * @updateInfo: * @Date: 2022-08-30 11:23:48 * @LastEditTime: 2022-09-14 17:07:59 */ import { Button as AntButton, Input, Layout } from 'ant-design-vue'; import type { App } from 'vue'; import { Button } from './Button'; import ElementPlus from 'element-plus'; import IkingFrom from 'iking-form'; import GlContentHeader from './GlContentHeader'; import GlContentSearch from './GlContentSearch'; import GlTitle from './GlTitle/GlTitle'; const compList = [AntButton.Group]; export function registerGlobComp(app: App) { compList.forEach((comp) => { app.component(comp.name || comp.displayName, comp); }); app.component('GlContentHeader', GlContentHeader); app.component('GlContentSearch', GlContentSearch); app.component('GlTitle', GlTitle); app.use(Input).use(Button).use(Layout); app.use(ElementPlus).use(IkingFrom); }