17 lines
507 B
TypeScript
17 lines
507 B
TypeScript
import { VueConstructor } from 'vue'
|
|
import { VxeUI } from '@vxe-ui/core'
|
|
import { dynamicApp } from '../dynamics'
|
|
import VxeLayoutBodyComponent from './src/layout-body'
|
|
|
|
export const VxeLayoutBody = Object.assign({}, VxeLayoutBodyComponent, {
|
|
install (app: VueConstructor) {
|
|
app.component(VxeLayoutBodyComponent.name as string, VxeLayoutBodyComponent)
|
|
}
|
|
})
|
|
|
|
dynamicApp.use(VxeLayoutBody)
|
|
VxeUI.component(VxeLayoutBodyComponent)
|
|
|
|
export const LayoutBody = VxeLayoutBody
|
|
export default VxeLayoutBody
|