Files
continew-admin-ui/src/App.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>