public/pages/stories.vue

17 lines
346 B
Vue
Raw Normal View History

2022-07-22 17:16:27 -04:00
<script setup lang="ts">
2022-08-10 12:00:48 -04:00
import type { StoryParsedContent } from "@/shared/types";
2022-08-07 11:37:29 -04:00
useTitle("Stories");
2022-08-10 12:00:48 -04:00
const docs = await queryContent<StoryParsedContent>("/stories")
.sort({ date: 1 })
.where({ _draft: false })
.find();
2022-07-22 17:16:27 -04:00
</script>
2022-08-10 11:05:20 -04:00
<template>
2022-08-10 12:00:48 -04:00
<main class="flex grow prose dark:prose-invert">
<h1>Stories</h1>
</main>
2022-08-10 11:05:20 -04:00
</template>