1
0
mirror of https://github.com/elk-zone/elk synced 2024-12-14 06:38:05 +09:00
elk/pages/public.vue

9 lines
255 B
Vue
Raw Normal View History

2022-11-14 23:54:30 +09: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>