vxe-pc-ui
Version:
A vue based PC component library
17 lines (13 loc) • 498 B
text/typescript
import { App } from 'vue'
import { VxeUI } from '@vxe-ui/core'
import VxeFormViewComponent from '../form-design/src/form-view'
import { dynamicApp } from '../dynamics'
export const VxeFormView = Object.assign(VxeFormViewComponent, {
install: function (app: App) {
app.component(VxeFormViewComponent.name as string, VxeFormViewComponent)
}
})
dynamicApp.use(VxeFormView)
VxeUI.component(VxeFormViewComponent)
export const FormView = VxeFormView
export default VxeFormView