Replies: 1 comment
-
After a little bit of experimenting i discovered that this problem does not exist when the parallel routes are stacked in some directory. Closing this issue |
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.
-
Summary
When using parallel routes as conditional ones when the parallel route is rendered the 404 page becomes blank.
Steps to reproduce:
Create a directory @slot in the /app folder, then create a page.tsx in side of it
Make the layout.tsx in /app something like this:
Then launch next js app when condition is true, try navigating to some non-existent path /abc which will result in empty page instead of the default 404 one.
Adding default.tsx file to @slot does not help and result in the same empty page
Additional information
Example
https://github.com/Emtyffx/parallel-routes-404-page.git
Beta Was this translation helpful? Give feedback.
All reactions