.Zeus.
.Zeus.
TTCTheo's Typesafe Cult
Created by .Zeus. on 12/3/2024 in #questions
T3 Stack Newbie, using NextJS 15 and tRPC, no utils/trpc.ts
Hey hey. Trying to kickstart a T3 stack project to test it out, generated the boilerplate and such. There's no utils folder or trpc.ts file with the type-safe hooks in. How do I access my router stuff? Seeing mixed answers for different versions...
"dependencies": {
"@prisma/client": "^5.22.0",
"@t3-oss/env-nextjs": "^0.10.1",
"@tanstack/react-query": "^5.50.0",
"@trpc/client": "^11.0.0-rc.446",
"@trpc/react-query": "^11.0.0-rc.446",
"@trpc/server": "^11.0.0-rc.446",
"geist": "^1.3.0",
"next": "^15.0.1",
"next-auth": "^4.24.10",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"server-only": "^0.0.1",
"superjson": "^2.2.1",
"zod": "^3.23.3"
},
"dependencies": {
"@prisma/client": "^5.22.0",
"@t3-oss/env-nextjs": "^0.10.1",
"@tanstack/react-query": "^5.50.0",
"@trpc/client": "^11.0.0-rc.446",
"@trpc/react-query": "^11.0.0-rc.446",
"@trpc/server": "^11.0.0-rc.446",
"geist": "^1.3.0",
"next": "^15.0.1",
"next-auth": "^4.24.10",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"server-only": "^0.0.1",
"superjson": "^2.2.1",
"zod": "^3.23.3"
},
My package.json
8 replies