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

16 lines
356 B
Vue
Raw Normal View History

2022-11-13 17:05:32 +01:00
<script setup lang="ts">
const props = defineProps<{
modelValue?: boolean
}>()
const params = useRoute().params
2022-11-15 04:26:52 +01:00
const masto = await useMasto()
const { data: account } = await useAsyncData('account', () => masto.accounts.lookup({ acct: params.user as string }))
2022-11-13 17:05:32 +01:00
</script>
<template>
<div>
2022-11-15 04:26:52 +01:00
<AccountHeader :account="account" />
2022-11-13 17:05:32 +01:00
</div>
</template>