index.js 427 B

123456789101112
  1. import { VxeUI } from '@vxe-ui/core';
  2. import VxeOptionComponent from '../select/src/option';
  3. import { dynamicApp } from '../dynamics';
  4. export const VxeOption = Object.assign(VxeOptionComponent, {
  5. install: function (app) {
  6. app.component(VxeOptionComponent.name, VxeOptionComponent);
  7. }
  8. });
  9. dynamicApp.use(VxeOption);
  10. VxeUI.component(VxeOptionComponent);
  11. export const Option = VxeOption;
  12. export default VxeOption;