From 6d30192dfae7dc3394ffb63f853e0e53476aa5a3 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 15 Mar 2023 09:07:38 +0000 Subject: [PATCH] Enable appDir --- app/page.tsx | 3 +++ next.config.js | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 app/page.tsx diff --git a/app/page.tsx b/app/page.tsx new file mode 100644 index 0000000..2af0a4f --- /dev/null +++ b/app/page.tsx @@ -0,0 +1,3 @@ +export default function Page() { + return

Hello, Next.js!

; +} \ No newline at end of file diff --git a/next.config.js b/next.config.js index bee2ae7..e078c5f 100644 --- a/next.config.js +++ b/next.config.js @@ -12,6 +12,9 @@ const moduleExports = { sentry: { hideSourceMaps: false, }, + experimental: { + appDir: true, + }, }; const sentryWebpackPluginOptions = {