1
0
mirror of https://github.com/elk-zone/elk synced 2024-11-27 14:28:10 +09:00
elk/pages/index.vue

11 lines
280 B
Vue
Raw Normal View History

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