refactor trpc routers

This commit is contained in:
Michael Dausmann
2023-10-06 23:36:54 +11:00
parent 4cb78b0060
commit 34ef760ade
3 changed files with 22 additions and 20 deletions

View File

@@ -1,5 +1,5 @@
import { createTRPCNuxtClient, httpBatchLink } from "trpc-nuxt/client";
import type { AppRouter } from "~/server/api/trpc/[trpc]";
import type { AppRouter } from "~/server/trpc/routers/app.router";
import superjson from "superjson";
export default defineNuxtPlugin(() => {