index.ts 560 B

1234567891011121314151617
  1. import { VueConstructor } from 'vue'
  2. import { VxeUI } from '@vxe-ui/core'
  3. import VxeSplitPaneComponent from '../split/src/split-pane'
  4. import { dynamicApp } from '../dynamics'
  5. export const VxeSplitPane = Object.assign({}, VxeSplitPaneComponent, {
  6. install (app: VueConstructor) {
  7. app.component(VxeSplitPaneComponent.name as string, VxeSplitPaneComponent)
  8. app.component('VxeSplitItem', VxeSplitPaneComponent)
  9. }
  10. })
  11. dynamicApp.use(VxeSplitPane)
  12. VxeUI.component(VxeSplitPaneComponent)
  13. export const SplitPane = VxeSplitPane
  14. export default VxeSplitPane