this repo has no description
1<script setup lang="ts">
2import { fetchNotes } from "@/api/fetch-notes"
3
4const notes = await fetchNotes()
5</script>
6
7<template>
8 <div class="blog-notes" v-if="notes.length > 0">
9 <h2>Last notes</h2>
10 <ul>
11 <li v-for="note in notes" :key="note.href">
12 <a :href="note.path">{{ note.title }}</a>
13 </li>
14 </ul>
15 </div>
16</template>