Replies: 1 comment
-
Hey @ashx404, the page will automatically return a 404 for routes that don't exist if you use If the route doesn't exist it will render the Next 404 page. To customize this page you can create your own at |
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.
-
Can fallback:true be used as a check to determine whether the router exists or not. So if isFallback is true. I can conditionally render Page doesnt exists or something else. Is this correct according to the good practices?
I tried it, it works but the code for content page also runs as
if(router.isFallback){
return
}
else{
Beta Was this translation helpful? Give feedback.
All reactions