mirror of
https://gitee.com/dromara/go-view.git
synced 2025-04-06 03:58:04 +08:00
13 lines
286 B
TypeScript
13 lines
286 B
TypeScript
import type { App } from 'vue'
|
|
import LoadingComponent from './index.vue'
|
|
import AsyncLoading from './index.vue'
|
|
|
|
// 正常组件
|
|
export { LoadingComponent }
|
|
|
|
// 异步
|
|
AsyncLoading.install = (app: App): void => {
|
|
app.component('AsyncLoading', AsyncLoading)
|
|
}
|
|
export { AsyncLoading }
|