use h3 instead of trpc

This commit is contained in:
2023-12-09 21:26:41 +01:00
parent f0aa9ebdf4
commit ba067cf533
25 changed files with 1395 additions and 940 deletions

View File

@@ -1,6 +1,5 @@
<script lang="ts" setup>
const { $trpc } = useNuxtApp()
const announce = await $trpc.announcement.get.query()
const { data: announce } = await useFetch('/api/announcement')
const appConfig = useAppConfig()
function getColor() {