feat(pages): add page for browsing a band's stories
This commit is contained in:
parent
04dd876698
commit
44606e53d5
11
pages/band/[id].vue
Normal file
11
pages/band/[id].vue
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<script lang="ts" setup>
|
||||||
|
import storyList from "~/components/listings/stories.vue";
|
||||||
|
import { IBand } from "~/models/band";
|
||||||
|
const route = useRoute();
|
||||||
|
const { data: band } = await useApiFetch<IBand>(`/bands/${route.params.id}`);
|
||||||
|
const pref = `/bands/${route.params.id}/stories`;
|
||||||
|
</script>
|
||||||
|
<template>
|
||||||
|
<a-typography-title> Browsing {{ band?.name }} fiction </a-typography-title>
|
||||||
|
<story-list :prefix="pref" />
|
||||||
|
</template>
|
Loading…
Reference in New Issue
Block a user