0f4333a5a3
Converted Blog example over to TypeScript to match the Contribution guidelines. I also simplified the example by removing `_document.js` and prettier from `package.json`. ## 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)
12 lines
325 B
JavaScript
12 lines
325 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const withNextra = require('nextra')({
|
|
theme: 'nextra-theme-blog',
|
|
themeConfig: './theme.config.js',
|
|
// optional: add `unstable_staticImage: true` to enable Nextra's auto image import
|
|
})
|
|
|
|
const nextConfig = {
|
|
// any configs you need
|
|
}
|
|
|
|
module.exports = withNextra(nextConfig)
|