Files
tranga-website/website/app/pages/download/[mangaId].vue
2025-10-10 20:13:29 +02:00

16 lines
394 B
Vue

<template>
<MangaDetailPage :manga="manga" back-path="/search" />
</template>
<script setup lang="ts">
import MangaDetailPage from '~/components/MangaDetailPage.vue';
const route = useRoute();
const mangaId = route.params.MangaId as string;
const { data: manga } = await useApi('/v2/Manga/{MangaId}', {
path: { MangaId: mangaId },
key: FetchKeys.Manga.Id(mangaId),
});
</script>