elk/pages/index.vue
2022-11-14 10:20:07 +08:00

13 lines
374 B
Vue

<script setup lang="ts">
const masto = await useMasto()
const { data: timelines } = await useAsyncData('public-timelines', () => masto.timelines.fetchPublic().then(r => r.value))
</script>
<template>
<div w-150>
<template v-for="status of timelines" :key="status.id">
<StatusCard :status="status" border="t gray/10" pt-4 />
</template>
</div>
</template>