vxe-pc-ui
Version:
A vue based PC component library
17 lines (13 loc) • 467 B
text/typescript
import { App } from 'vue'
import { VxeUI } from '@vxe-ui/core'
import VxeBacktopComponent from './src/backtop'
import { dynamicApp } from '../dynamics'
export const VxeBacktop = Object.assign({}, VxeBacktopComponent, {
install (app: App) {
app.component(VxeBacktopComponent.name as string, VxeBacktopComponent)
}
})
dynamicApp.use(VxeBacktop)
VxeUI.component(VxeBacktopComponent)
export const Backtop = VxeBacktop
export default VxeBacktop