You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
436 B
16 lines
436 B
import { VueConstructor } from 'vue'
|
|
import { VxeUI } from '@vxe-ui/core'
|
|
import VxeFormComponent from './src/form'
|
|
import { dynamicApp } from '../dynamics'
|
|
|
|
export const VxeForm = Object.assign(VxeFormComponent, {
|
|
install (app: VueConstructor) {
|
|
app.component(VxeFormComponent.name as string, VxeFormComponent)
|
|
}
|
|
})
|
|
|
|
dynamicApp.use(VxeForm)
|
|
VxeUI.component(VxeFormComponent)
|
|
|
|
export const Form = VxeForm
|
|
export default VxeForm
|
|
|