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])
| })
| }
| }
|
|