1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-11-08 01:49:58 +00: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>