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