goview_vue/src/plugins/customComponents.ts

13 lines
343 B
TypeScript
Raw Normal View History

2021-12-19 19:19:46 +08:00
import type { App } from 'vue'
import { Skeleton } from '@/components/Skeleton'
2022-01-20 21:25:35 +08:00
import { LoadingComponent } from '@/components/LoadingComponent'
2021-12-19 19:19:46 +08:00
2021-12-10 14:11:49 +08:00
/**
2022-01-13 16:20:25 +08:00
*
2021-12-10 14:11:49 +08:00
* @param app
*/
2021-12-19 19:19:46 +08:00
export function setupCustomComponents(app: App) {
app.component('Skeleton', Skeleton)
2022-01-20 21:25:35 +08:00
app.component('LoadingComponent', LoadingComponent)
2021-12-10 14:11:49 +08:00
}