next-axiom tRPC + App Router Example

This is an example for using next-axiom with the Next.js App Router and tRPC. It is based on create-t3-app.

Setup

  • Clone this repo
  • Add the dataset you want to ingest into and your token to .env
  • Run npm install
  • Run npm run dev
  • Visit localhost:3000. Your app should now be logging to Axiom.

Good evening

I'm here to help you with the docs.

I
AIBased on your context