#nextjs-sandbox (forked) - StackBlitz

1 messages · Page 1 of 1 (latest)

hollow geode
#

I'm not sure I understand, there's a next.config.js file which should work

hidden dune
#

but i added it

#

it wasn't there in original sandbox, i forked and added next.config.js

hollow geode
#

Why is that an issue?

hidden dune
#

i'm trying to do exactly what i did locally to try and reproduce the issue where _app.tsx is not rendering

#

and locally i set this config: ```ts
const nextConfig = {
reactStrictMode: true,
swcMinify: true,
redirects: async () => [
{
source: "/",
destination: "/home",
permanent: true,
},
],
};

#

@hollow geode just ran across stackoverflow answer:

says:

  1. Create a /src folder in the root directory.
  2. Delete the /.next folder

I didn't deleted .next folder and that was the issue, i deleted and compiled and now it works

hollow geode
#

Oh ok, great!