globalComponents.ts 405 B

1234567891011121314
  1. // Copyright (C) 2012-2021 Zammad Foundation, https://zammad-foundation.org/
  2. import type { App } from 'vue'
  3. import CommonIcon from '@common/components/common/CommonIcon.vue'
  4. declare module '@vue/runtime-core' {
  5. export interface GlobalComponents {
  6. CommonIcon: typeof CommonIcon
  7. }
  8. }
  9. export default function initializeGlobalComponents(app: App): void {
  10. app.component('CommonIcon', CommonIcon)
  11. }