xieb
2023-11-16 16fcff23e254e02bd0b09624e8dc44b6097dc6f9
1
2
3
4
5
6
7
8
9
10
11
12
13
import { App, DefineComponent } from 'vue'
 
const components: Record<string, DefineComponent<{}, {}, any>> = {
 
}
 
export const CommonComponents = {
  install (app: App): void {
    Object.keys(components).forEach(name => {
      app.component(name, components[name])
    })
  }
}