index.ts 436 B

12345678910111213141516
  1. import { VueConstructor } from 'vue'
  2. import { VxeUI } from '@vxe-ui/core'
  3. import VxeListComponent from './src/list'
  4. import { dynamicApp } from '../dynamics'
  5. export const VxeList = Object.assign(VxeListComponent, {
  6. install (app: VueConstructor) {
  7. app.component(VxeListComponent.name as string, VxeListComponent)
  8. }
  9. })
  10. dynamicApp.use(VxeList)
  11. VxeUI.component(VxeListComponent)
  12. export const List = VxeList
  13. export default VxeList