1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-11-05 00:19:59 +00:00
elk/pages/home.vue
2022-11-24 15:53:27 +08:00

20 lines
398 B
Vue

<script setup lang="ts">
definePageMeta({
middleware: 'auth',
})
const paginator = masto.timelines.getHomeIterable()
</script>
<template>
<MainContent>
<template #title>
<span text-lg font-bold>Home</span>
</template>
<slot>
<PublishWidget draft-key="home" border="b base" />
<TimelinePaginator :paginator="paginator" />
</slot>
</MainContent>
</template>