elk/pages/@[user]/index.vue
2022-11-15 11:26:52 +08:00

16 lines
356 B
Vue

<script setup lang="ts">
const props = defineProps<{
modelValue?: boolean
}>()
const params = useRoute().params
const masto = await useMasto()
const { data: account } = await useAsyncData('account', () => masto.accounts.lookup({ acct: params.user as string }))
</script>
<template>
<div>
<AccountHeader :account="account" />
</div>
</template>