mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-30 19:21:53 +08:00
25 lines
904 B
TypeScript
25 lines
904 B
TypeScript
import type { App } from 'vue'
|
|
import { Icon } from './Icon'
|
|
import { Form } from '@/components/Form'
|
|
import { Table } from '@/components/Table'
|
|
import { Search } from '@/components/Search'
|
|
import { Dialog } from '@/components/Dialog'
|
|
import { XModal } from '@/components/XModal'
|
|
import { XButton } from '@/components/XButton'
|
|
import { DictTag } from '@/components/DictTag'
|
|
import { ContentWrap } from '@/components/ContentWrap'
|
|
import { Descriptions } from '@/components/Descriptions'
|
|
|
|
export const setupGlobCom = (app: App<Element>): void => {
|
|
app.component('Icon', Icon)
|
|
app.component('Form', Form)
|
|
app.component('Table', Table)
|
|
app.component('Search', Search)
|
|
app.component('Dialog', Dialog)
|
|
app.component('XModal', XModal)
|
|
app.component('XButton', XButton)
|
|
app.component('DictTag', DictTag)
|
|
app.component('ContentWrap', ContentWrap)
|
|
app.component('Descriptions', Descriptions)
|
|
}
|