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.
 
 
 
 

17 lines
565 B

import { VueConstructor } from 'vue'
import { VxeUI } from '@vxe-ui/core'
import VxeDatePickerComponent from './src/date-picker'
import { dynamicApp } from '../dynamics'
export const VxeDatePicker = Object.assign({}, VxeDatePickerComponent, {
install (app: VueConstructor) {
app.component(VxeDatePickerComponent.name as string, VxeDatePickerComponent)
app.component('VxeDateInput', VxeDatePickerComponent)
}
})
dynamicApp.use(VxeDatePicker)
VxeUI.component(VxeDatePickerComponent)
export const DatePicker = VxeDatePicker
export default VxeDatePicker