stream day 2

This commit is contained in:
Zoe
2023-01-03 15:11:36 -06:00
parent 0bece5d0fc
commit 47afcbb8ec
23 changed files with 605 additions and 37 deletions

View File

@@ -0,0 +1,16 @@
<template>
hello world
</template>
<script>
import { useServerStore } from '~/stores/servers'
export default {
async setup() {
const route = useRoute()
const { server } = await $fetch(`/api/channel/${route.params.dmId}`)
if (!useServerStore().dms.includes(server)) useServerStore().addDM(server);
}
}
</script>