antd-tiny-vue/components/index.ts
2023-04-16 18:09:13 +08:00

16 lines
340 B
TypeScript

import type { App } from 'vue'
import * as components from './components'
import version from './version'
export default {
install(app: App) {
for (const componentsKey in components) {
const component = (components as any)[componentsKey]
if (component.install) {
app.use(component)
}
}
},
version
}