1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-07-22 06:06:48 +01: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>