1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-11-05 00:19:59 +00:00
elk/pages/index.vue
2022-11-14 00:05:32 +08:00

13 lines
310 B
Vue

<script setup lang="ts">
const client = useClient()
const { data: posts } = await useAsyncData(() => client.getPublicTimeline())
</script>
<template>
<div w-150>
<template v-for="post in posts" :key="post.id">
<PostCard :post="post" border="t gray/10" pt-4 />
</template>
</div>
</template>