mirror of
https://github.com/XiaoDaiGua-Ray/ray-template.git
synced 2025-04-06 03:57:49 +08:00
26 lines
783 B
TypeScript
26 lines
783 B
TypeScript
import { RouterView } from 'vue-router'
|
|
import AppNaiveGlobalProvider from '@/app-components/provider/AppNaiveGlobalProvider'
|
|
import AppStyleProvider from '@/app-components/provider/AppStyleProvider'
|
|
import AppLockScreen from '@/app-components/app/AppLockScreen'
|
|
import AppWatermarkProvider from '@/app-components/provider/AppWatermarkProvider'
|
|
import AppGlobalSpin from '@/spin'
|
|
|
|
export default defineComponent({
|
|
name: 'App',
|
|
render() {
|
|
return (
|
|
<AppNaiveGlobalProvider>
|
|
<AppLockScreen />
|
|
<AppStyleProvider />
|
|
<AppWatermarkProvider />
|
|
<AppGlobalSpin>
|
|
{{
|
|
default: () => <RouterView />,
|
|
description: () => 'loading...',
|
|
}}
|
|
</AppGlobalSpin>
|
|
</AppNaiveGlobalProvider>
|
|
)
|
|
},
|
|
})
|