Files
tranga-website/website/app/pages/manga/[mangaId].vue

17 lines
506 B
Vue

<template>
<MangaDetailPage :manga="manga">
<ChaptersList v-if="manga" :manga-id="manga.key" />
<template #actions>
<UButton variant="soft" color="warning" icon="i-lucide-trash" />
</template>
</MangaDetailPage>
</template>
<script setup lang="ts">
import MangaDetailPage from '~/components/MangaDetailPage.vue';
const route = useRoute();
const { data: manga } = useApi('/v2/Manga/{MangaId}', { path: { MangaId: route.params.mangaId as string } });
</script>