Szymon
Szymon14mo ago

tRPC with app router

Hi, where I can find basic and simple code for trpc for next.js app router?
5 Replies
Ray
Ray14mo ago
same
<DxD/>
<DxD/>14mo ago
You want in trpc to create routes ? Or ?
PotatisMannen
PotatisMannen14mo ago
you can use create-t3-app to scaffold a next app using the app dir with trpc and a drizzle connection automatically
PotatisMannen
PotatisMannen14mo ago
Create T3 App
Create T3 App
The best way to start a full-stack, typesafe Next.js app.
PotatisMannen
PotatisMannen14mo ago
otherwise, just inspect the code and replicate some of this in a bare nextjs app i also posted this in the docs channel a while ago: https://discord.com/channels/867764511159091230/1079833901230461068/1121217111398817793

Did you find this page helpful?