mirror of
https://git.hmsn.ink/kospo/svcm/oa.git
synced 2026-03-20 14:13:33 +09:00
first
This commit is contained in:
27
src/pages/sidebar/dashboards.vue
Normal file
27
src/pages/sidebar/dashboards.vue
Normal file
@@ -0,0 +1,27 @@
|
||||
<route lang="yaml">
|
||||
meta:
|
||||
requiresAuth: true
|
||||
</route>
|
||||
|
||||
<script setup lang="ts">
|
||||
const layoutSwitcher = useLayoutSwitcher()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<component
|
||||
:is="(layoutSwitcher.dynamicLayoutComponent as any)"
|
||||
v-bind="layoutSwitcher.dynamicLayoutProps"
|
||||
close-on-change
|
||||
default-sidebar="dashboard"
|
||||
>
|
||||
<!-- Content Wrapper -->
|
||||
<RouterView v-slot="{ Component }">
|
||||
<Transition
|
||||
name="fade-fast"
|
||||
mode="out-in"
|
||||
>
|
||||
<component :is="Component" />
|
||||
</Transition>
|
||||
</RouterView>
|
||||
</component>
|
||||
</template>
|
||||
Reference in New Issue
Block a user