rsnext/examples/with-axiom/next.config.js
Islam Shehata 9d30ef15e1
adding with-axiom example (#38300)
## Documentation / Examples

- [ X ] Make sure the linting passes by running `pnpm lint`
- [ X ] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples)


This PR adds an example for using next.js with axiom.

Co-authored-by: Balázs Orbán <info@balazsorban.com>
Co-authored-by: Steven Tey <stevensteel97@gmail.com>
2022-09-01 09:50:03 -05:00

8 lines
174 B
JavaScript

const { withAxiom } = require('next-axiom')
/** @type {import('next').NextConfig} */
const nextConfig = withAxiom({
reactStrictMode: true,
})
module.exports = nextConfig