Files
tranga-website/website/app/components/LoadingPage.vue
glax 570d8014a1 Loadingpage
MangaCardList
Manga with Tag Page
2025-10-14 15:37:58 +02:00

21 lines
508 B
Vue

<template>
<UPageBody v-if="loading">
<UPageHero title="Loading..." />
</UPageBody>
<UPageBody v-else v-bind="$props">
<template v-for="(_, slotName) in $slots" #[slotName]>
<slot :name="slotName" />
</template>
</UPageBody>
</template>
<script setup lang="ts">
import type { PageBodyProps } from '#ui/components/PageBody.vue';
export interface LoadingPageProps extends PageBodyProps {
loading: boolean;
}
defineProps<LoadingPageProps>();
</script>