17 lines
		
	
	
		
			478 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			478 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
import { App } from 'vue'
 | 
						|
import { VxeUI } from '@vxe-ui/core'
 | 
						|
import VxeCalendarComponent from './src/calendar'
 | 
						|
import { dynamicApp } from '../dynamics'
 | 
						|
 | 
						|
export const VxeCalendar = Object.assign({}, VxeCalendarComponent, {
 | 
						|
  install (app: App) {
 | 
						|
    app.component(VxeCalendarComponent.name as string, VxeCalendarComponent)
 | 
						|
  }
 | 
						|
})
 | 
						|
 | 
						|
dynamicApp.use(VxeCalendar)
 | 
						|
VxeUI.component(VxeCalendarComponent)
 | 
						|
 | 
						|
export const Calendar = VxeCalendar
 | 
						|
export default VxeCalendar
 |