This example is the same as next-minimal-starter, excepts that it uses the Next.js Edge Runtime using tRPC's fetch adapter.
npx create-next-app --example https://github.com/trpc/trpc --example-path examples/next-edge-runtime trpc-next-edge-runtime
cd trpc-next-edge-runtime
npm i
npm run devnpm run dev # starts next.js