2023-10-11 16:49:05 -04:00
|
|
|
<script lang="ts" setup>
|
|
|
|
import storyList from "~/components/listings/stories.vue";
|
|
|
|
import { IBand } from "~/models/band";
|
|
|
|
const route = useRoute();
|
2023-12-06 22:22:48 -05:00
|
|
|
const { data: band } = await useApiFetch<IBand>(`/band/${route.params.id}`);
|
2023-10-11 16:49:05 -04:00
|
|
|
</script>
|
|
|
|
<template>
|
|
|
|
<a-typography-title> Browsing {{ band?.name }} fiction </a-typography-title>
|
2023-12-06 22:22:48 -05:00
|
|
|
<story-list :prefix="`/band/${route.params.id}/stories`" />
|
2023-10-11 16:49:05 -04:00
|
|
|
</template>
|