Buckets:
32.9 GB
31,201 files
Updated 2 months ago
Ctrl+K
| Name | Size | Uploaded | Xet hash |
|---|---|---|---|
| pages | 3 items | ||
| .gitignore | 437 Bytes xet | f8bee8be | |
| README.md | 1.42 kB xet | 411fa01a | |
| middleware.ts | 244 Bytes xet | 44c83404 | |
| next.config.js | 177 Bytes xet | f907abdb | |
| package.json | 419 Bytes xet | a33ca27a | |
| tsconfig.json | 479 Bytes xet | ab56b709 |
Example app with Axiom
This example shows how to use a Next.js project along with Axiom via the next-axiom package. A custom withAxiom wrapper is used to wrap the next config object, middleware and API functions. The log object could be used from frontend, middleware and API functions.
Deploy your own
Check out our Next.js deployment documentation for more details.
How to use
Execute create-next-app with npm, Yarn, or pnpm to bootstrap the example:
npx create-next-app --example with-axiom with-axiom-app
yarn create next-app --example with-axiom with-axiom-app
pnpm create next-app --example with-axiom with-axiom-app
Deploy it to the cloud with Vercel (Documentation) and watch data coming into your Axiom dataset.
- Total size
- 32.9 GB
- Files
- 31,201
- Last updated
- Sep 26
- Pre-warmed CDN
- US EU US EU