Dynamic routes on vercel production #55659
Unanswered
BBartt
asked this question in
App Router
Replies: 1 comment
-
did you fix it? I am having quite a similar problem, but mine does not give 404 error just redirects back to the homepage and gives me the correct url |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am working on next v13 with app folder.
I have created dynamic routes
app/test/[params]/page.tsx
and I got 404 error page when I access this route.I added
export const dynamicParams = true;
line to my...[params]/page.tsx
but I still I see 404 page on vercel.My next.config.js file is:
const nextConfig = { output: "export", distDir: "_static", images: { unoptimized: true, }, trailingSlash: true, experimental: { appDir: true, }, };
How can make dynamic route work on production?
Beta Was this translation helpful? Give feedback.
All reactions