mirror of
https://github.com/antd-tiny-vue/antd-tiny-vue.git
synced 2024-11-10 09:39:15 +08:00
16 lines
340 B
TypeScript
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
|
|
}
|