1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-11-04 16:09:59 +00: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>