1
0
mirror of https://github.com/elk-zone/elk synced 2024-12-05 02:08:09 +09:00
elk/pages/@[user]/[post].vue
2022-11-14 11:33:09 +08:00

17 lines
335 B
Vue

<script setup lang="ts">
const props = defineProps<{
modelValue?: boolean
}>()
const params = useRoute().params
const masto = await useMasto()
const { data: status } = await useAsyncData(() => masto.statuses.fetch(params.post as string))
</script>
<template>
<div w-130>
<StatusCard :status="status" />
</div>
</template>