index.js 407 B

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