From 81c30348adeeeee87d38b807b7581939676ee8dc Mon Sep 17 00:00:00 2001 From: Shivam Sharma Date: Wed, 6 Dec 2023 06:14:52 +0530 Subject: [PATCH] NextJS 14 next export has been removed --- docs/modules/ROOT/pages/web-frameworks.adoc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/modules/ROOT/pages/web-frameworks.adoc b/docs/modules/ROOT/pages/web-frameworks.adoc index 9da93652..39d4f442 100644 --- a/docs/modules/ROOT/pages/web-frameworks.adoc +++ b/docs/modules/ROOT/pages/web-frameworks.adoc @@ -206,6 +206,13 @@ This will configure the build to export the static files: } ---- +In Next.js 14+ you need to add the following property in `next.config.js` file: +---- +const nextConfig = { + output: 'export', +} +---- + [#svelte-kit-config] === Svelte Kit Configuration SvelteKit needs to be configured to create a single page application.