index.js 464 B

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