17 lines
440 B
TypeScript
17 lines
440 B
TypeScript
import { VueConstructor } from 'vue'
|
|
import { VxeUI } from '@vxe-ui/core'
|
|
import { dynamicApp } from '../dynamics'
|
|
import VxeLinkComponent from './src/link'
|
|
|
|
export const VxeLink = Object.assign({}, VxeLinkComponent, {
|
|
install (app: VueConstructor) {
|
|
app.component(VxeLinkComponent.name as string, VxeLinkComponent)
|
|
}
|
|
})
|
|
|
|
dynamicApp.use(VxeLink)
|
|
VxeUI.component(VxeLinkComponent)
|
|
|
|
export const Link = VxeLink
|
|
export default VxeLink
|