mirror of
https://github.com/C9Glax/tranga-website.git
synced 2025-10-15 01:40:46 +02:00
13 lines
402 B
Vue
13 lines
402 B
Vue
<template>
|
|
<LoadingPage :loading="status === 'pending'">
|
|
<MangaCardList :manga="manga" class="mx-4 mt-2" @click="(m) => navigateTo(`/manga/${m.key}`)" />
|
|
</LoadingPage>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
const { data: manga, refresh, status } = await useApi('/v2/Manga', { key: FetchKeys.Manga.All, lazy: true });
|
|
onMounted(() => refresh());
|
|
|
|
useHead({ title: 'Tranga' });
|
|
</script>
|