mirror of
https://github.com/C9Glax/tranga-website.git
synced 2025-10-11 13:19:49 +02:00
16 lines
398 B
Vue
16 lines
398 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 useApiData('/v2/Manga/{MangaId}', {
|
|
path: { MangaId: mangaId },
|
|
key: FetchKeys.Manga.Id(mangaId),
|
|
});
|
|
</script>
|