mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-10-29 02:57:08 +08:00
first commit
This commit is contained in:
23
src/App.vue
Normal file
23
src/App.vue
Normal file
@@ -0,0 +1,23 @@
|
||||
<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()
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.loading-icon {
|
||||
width: 30px;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user