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