silverwolf-x's picture
|
download
raw
1.42 kB

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

Deploy with Vercel

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.

Xet Storage Details

Size:
1.42 kB
·
Xet hash:
411fa01af9b32d0aab35ba7189416da99bd7f092f7d76675e6b6f3cd5d6c7395

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.