17 lines
457 B
TypeScript
17 lines
457 B
TypeScript
import { VueConstructor } from 'vue'
|
|
import { VxeUI } from '@vxe-ui/core'
|
|
import VxePagerComponent from './src/pager'
|
|
import { dynamicApp } from '../dynamics'
|
|
|
|
export const VxePager = Object.assign(VxePagerComponent, {
|
|
install: function (app: VueConstructor) {
|
|
app.component(VxePagerComponent.name as string, VxePagerComponent)
|
|
}
|
|
})
|
|
|
|
dynamicApp.use(VxePager)
|
|
VxeUI.component(VxePagerComponent)
|
|
|
|
export const Pager = VxePager
|
|
export default VxePager
|