mirror of
https://github.com/antd-tiny-vue/antd-tiny-vue.git
synced 2025-03-15 23:15:11 +08:00
16 lines
343 B
TypeScript
16 lines
343 B
TypeScript
import type { App, Plugin } from 'vue'
|
|
import * as components from './components'
|
|
import version from './version'
|
|
export * from './components'
|
|
|
|
export default {
|
|
install(app: App) {
|
|
Object.values(components).forEach(component => {
|
|
if (component.install) {
|
|
app.use(component as any)
|
|
}
|
|
})
|
|
},
|
|
version
|
|
} as Plugin
|