You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to customize the 404 error page, but I cannot find a solution in the documentation. I remember in NextJS we create pages/404.js file that can reach the goal, Link is here.
Describe the solution you'd like
Maybe creating a 404.js file in routes directory and export a custom component is good.
Describe alternatives you've considered
I do not know is there any other solution like catching 404 router errors exist, but I do think this feature is quite common.
Additional context
No response
The text was updated successfully, but these errors were encountered:
Hi @jonsam-ng
Thanks for creating this feature request 🙏
Looks like this request was already raised before on #2285 and #1560. @adamdbradley also started to work on it on #2175. i also gave it a spin but i am not able to confirm that a custom 404 page is rendered as described in the PR. hope they will finish the work soon 🙏
If you think that one of the above mentioned feature requests cover your input, feel free to close your issue. Otherwise keep it open 🙏
Is your feature request related to a problem?
I want to customize the 404 error page, but I cannot find a solution in the documentation. I remember in NextJS we create
pages/404.js
file that can reach the goal, Link is here.Describe the solution you'd like
Maybe creating a
404.js
file in routes directory and export a custom component is good.Describe alternatives you've considered
I do not know is there any other solution like catching 404 router errors exist, but I do think this feature is quite common.
Additional context
No response
The text was updated successfully, but these errors were encountered: