elk/pages/index.vue

11 lines
280 B
Vue
Raw Normal View History

2022-11-13 06:34:43 +01:00
<script setup lang="ts">
2022-11-14 03:20:07 +01:00
const masto = await useMasto()
const { data: timelines } = await useAsyncData('public-timelines', () => masto.timelines.fetchPublic().then(r => r.value))
2022-11-13 06:34:43 +01:00
</script>
<template>
2022-11-14 04:33:09 +01:00
<div w-120>
<TimelineList :timelines="timelines" />
2022-11-13 06:34:43 +01:00
</div>
</template>