feat: make internal app URLs permalinks (#329)
This commit is contained in:
parent
4f8f2ed1f1
commit
eb022c92e8
19 changed files with 99 additions and 51 deletions
15
pages/[[server]]/@[account]/index/following.vue
Normal file
15
pages/[[server]]/@[account]/index/following.vue
Normal file
|
@ -0,0 +1,15 @@
|
|||
<script setup lang="ts">
|
||||
const params = useRoute().params
|
||||
const handle = $(computedEager(() => params.account as string))
|
||||
|
||||
definePageMeta({ name: 'account-following' })
|
||||
|
||||
const account = await fetchAccountByHandle(handle)
|
||||
const paginator = account ? useMasto().accounts.iterateFollowing(account.id, {}) : null
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<template v-if="account">
|
||||
<AccountPaginator :paginator="paginator" />
|
||||
</template>
|
||||
</template>
|
Loading…
Add table
Add a link
Reference in a new issue