1
0
mirror of https://github.com/elk-zone/elk synced 2024-11-27 22:38:11 +09:00
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>