elk/pages/public.vue

9 lines
255 B
Vue
Raw Normal View History

2022-11-14 14:54:30 +00:00
<script setup lang="ts">
const masto = await useMasto()
const { data: timelines } = await useAsyncData('timelines-public', () => masto.timelines.fetchPublic().then(r => r.value))
</script>
<template>
<TimelineList :timelines="timelines" />
</template>