Files
ReelShortWeb/src/components/index.ts
T

15 lines
406 B
TypeScript

// Author: fruit.com.cn
import type { App } from 'vue'
import { Icon } from './Icon'
import { AppIcon } from './AppIcon'
import { AppImage } from './AppImage'
import { BaseButton } from './Button'
export const setupGlobCom = (app: App<Element>): void => {
app.component('Icon', Icon)
app.component('AppIcon', AppIcon)
app.component('AppImage', AppImage)
app.component('BaseButton', BaseButton)
}