elk/pages/@[user]/[post].vue

17 lines
335 B
Vue
Raw Normal View History

2022-11-13 16:05:32 +00:00
<script setup lang="ts">
const props = defineProps<{
modelValue?: boolean
}>()
const params = useRoute().params
2022-11-14 03:33:09 +00:00
const masto = await useMasto()
const { data: status } = await useAsyncData(() => masto.statuses.fetch(params.post as string))
2022-11-13 16:05:32 +00:00
</script>
<template>
2022-11-14 03:33:09 +00:00
<div w-130>
<StatusCard :status="status" />
2022-11-13 16:05:32 +00:00
</div>
</template>