mirror of
https://github.com/sky22333/hubproxy.git
synced 2026-08-05 03:24:57 +08:00
15 lines
347 B
Vue
15 lines
347 B
Vue
<script setup lang="ts">
|
|
import { RouterView } from 'vue-router'
|
|
import AppShell from '@/components/AppShell.vue'
|
|
</script>
|
|
|
|
<template>
|
|
<AppShell>
|
|
<RouterView v-slot="{ Component, route }">
|
|
<Transition name="page">
|
|
<component :is="Component" :key="route.path" />
|
|
</Transition>
|
|
</RouterView>
|
|
</AppShell>
|
|
</template>
|