Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom 404 page #1

Open
G1msky opened this issue May 19, 2024 · 0 comments
Open

Custom 404 page #1

G1msky opened this issue May 19, 2024 · 0 comments

Comments

@G1msky
Copy link

G1msky commented May 19, 2024

Hey @atapas , thanks for the tutorial!

I have a question, with this structure how to use a custom 404 page?
when adding the file not-found.tsx to /app I get an error about no RootLayout

src/app/not-found.tsx
not-found.tsx doesn't have a root layout. To fix this error, make sure every page has a root layout

and if it is placed in the group folders (home) / (commerce) , next does not read it, is there any way to solve this?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant