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>