Remodeled database and api to prepare for move
This commit is contained in:
12
components/calendar/Dashboard.vue
Normal file
12
components/calendar/Dashboard.vue
Normal file
@@ -0,0 +1,12 @@
|
||||
<script lang="ts" setup>
|
||||
const route = useRoute()
|
||||
const worldId = route.params.id
|
||||
|
||||
const { data: calendar } = await useLazyFetch(`/api/calendars/query?world_id=${worldId}`)
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<pre>
|
||||
{{ calendar }}
|
||||
</pre>
|
||||
</template>
|
||||
Reference in New Issue
Block a user