UNPKG

next-axiom

Version:

Send WebVitals from your Next.js project to Axiom.

12 lines (8 loc) 353 B
# 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.