<script setup lang="ts">
const posts = usePosts()
</script>

<template>
  <h1>文章</h1>

  <ul>
    <li v-for="post in posts" :key="post.title">
      <router-link :to="post.path" v-text="post.title" />
    </li>
  </ul>
</template>
