index.ts 440 B

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