mirror of
https://gitee.com/dromara/go-view.git
synced 2025-05-14 07:10:43 +08:00
13 lines
343 B
TypeScript
13 lines
343 B
TypeScript
import type { App } from 'vue'
|
|
import { Skeleton } from '@/components/Skeleton'
|
|
import { LoadingComponent } from '@/components/LoadingComponent'
|
|
|
|
/**
|
|
* 全局注册自定义组件
|
|
* @param app
|
|
*/
|
|
export function setupCustomComponents(app: App) {
|
|
app.component('Skeleton', Skeleton)
|
|
app.component('LoadingComponent', LoadingComponent)
|
|
}
|