antd-tiny-vue/components/index.ts

16 lines
340 B
TypeScript
Raw Normal View History

2023-03-10 22:18:22 +08:00
import type { App } from 'vue'
import * as components from './components'
2023-04-16 18:09:13 +08:00
import version from './version'
2023-02-19 00:32:59 +08:00
2023-03-10 22:18:22 +08:00
export default {
install(app: App) {
for (const componentsKey in components) {
const component = (components as any)[componentsKey]
if (component.install) {
app.use(component)
}
}
2023-04-16 18:09:13 +08:00
},
version
2023-02-19 00:32:59 +08:00
}