diff --git a/.gitignore b/.gitignore index 756f2f7..3366efc 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ node_modules/ .next/ +out/ .idea diff --git a/next.config.js b/next.config.js index d6a4679..2dfa00f 100644 --- a/next.config.js +++ b/next.config.js @@ -3,7 +3,10 @@ const withNextra = require('nextra')({ themeConfig: './theme.config.jsx' }) -module.exports = withNextra() +module.exports = { + ...withNextra(), + output: 'export', +} // If you have other Next.js configurations, you can pass them as the parameter: // module.exports = withNextra({ /* other next.js config */ })