17 lines
490 B
TypeScript
17 lines
490 B
TypeScript
import { VueConstructor } from 'vue'
|
|
import { VxeUI } from '@vxe-ui/core'
|
|
import VxePulldownComponent from './src/pulldown'
|
|
import { dynamicApp } from '../dynamics'
|
|
|
|
export const VxePulldown = Object.assign(VxePulldownComponent, {
|
|
install: function (app: VueConstructor) {
|
|
app.component(VxePulldownComponent.name as string, VxePulldownComponent)
|
|
}
|
|
})
|
|
|
|
dynamicApp.use(VxePulldown)
|
|
VxeUI.component(VxePulldownComponent)
|
|
|
|
export const Pulldown = VxePulldown
|
|
export default VxePulldown
|