elk/pages/index.vue
2022-11-14 11:33:09 +08:00

11 lines
280 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-120>
<TimelineList :timelines="timelines" />
</div>
</template>