mirror of
https://gitee.com/dromara/go-view.git
synced 2025-04-29 08:50:10 +08:00
18 lines
469 B
TypeScript
18 lines
469 B
TypeScript
import type { App } from 'vue'
|
|
import GoLoading from './index.vue'
|
|
import AsyncLoading from './index.vue'
|
|
import AsyncSkeletonLoading from './LoadingSkeleton.vue'
|
|
|
|
// 正常组件
|
|
export { GoLoading }
|
|
|
|
// 异步
|
|
AsyncLoading.install = (app: App): void => {
|
|
app.component('AsyncLoading', AsyncLoading)
|
|
}
|
|
|
|
AsyncSkeletonLoading.install = (app: App): void => {
|
|
app.component('AsyncSkeletonLoading', AsyncSkeletonLoading)
|
|
}
|
|
export { AsyncLoading, AsyncSkeletonLoading }
|