UNPKG

@logtail/next

Version:

Better Stack Telemetry Next.js client

12 lines (8 loc) 350 B
# @logtail/next tRPC + App Router Example This is an example for using @logtail/next with the Next.js App Router and tRPC. It is based on `create-t3-app`. ## Setup - Clone this repo - Add the ingesting URL and source token to `.env` - Run `npm install` - Run `npm run dev` - Visit `localhost:3000`. Your app should now be logging to Better Stack.