mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-09-11 16:57:09 +08:00
25 lines
495 B
Vue
25 lines
495 B
Vue
<template>
|
|
<a-config-provider update-at-scroll>
|
|
<router-view></router-view>
|
|
<template #loading>
|
|
<img src="/static/images/loading.gif" class="loading-icon" alt="loading" />
|
|
</template>
|
|
</a-config-provider>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { useAppStore } from '@/stores'
|
|
|
|
defineOptions({ name: 'App' })
|
|
|
|
const appStore = useAppStore()
|
|
appStore.initTheme()
|
|
appStore.initSiteConfig()
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.loading-icon {
|
|
width: 30px;
|
|
}
|
|
</style>
|