File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ const nuxtTrpcRootConfig = `/**
1010 * @see https://trpc.io/docs/v10/router
1111 * @see https://trpc.io/docs/v10/procedures
1212 */
13- import type { Context } from '~/server/trpc/context'
13+ import type { Context } from '~~ /server/trpc/context'
1414import { initTRPC } from '@trpc/server'
1515import superjson from 'superjson'
1616
@@ -69,8 +69,8 @@ export type Context = inferAsyncReturnType<typeof createContext>
6969`
7070
7171const nuxtTrpcApiHandler = `import { createNuxtApiHandler } from 'trpc-nuxt'
72- import { createContext } from '~/server/trpc/context'
73- import { appRouter } from '~/server/trpc/routers'
72+ import { createContext } from '~~ /server/trpc/context'
73+ import { appRouter } from '~~ /server/trpc/routers'
7474
7575// export API handler
7676export default createNuxtApiHandler({
@@ -79,7 +79,7 @@ export default createNuxtApiHandler({
7979})
8080`
8181
82- const nuxtTrpcPlugin = `import type { AppRouter } from '~/server/trpc/routers'
82+ const nuxtTrpcPlugin = `import type { AppRouter } from '~~ /server/trpc/routers'
8383import superjson from 'superjson'
8484import { createTRPCNuxtClient, httpBatchLink } from 'trpc-nuxt/client'
8585
You can’t perform that action at this time.
0 commit comments