404 Page shows blank
Answered
Hexaa Scoooolzs posted this in #help-forum
Hexaa ScoooolzsOP
Hello!, so i've been creating a personal website for myself and gonna setting up
(I'm try to build and no errors come up)
not-found.tsx
file. before i'm code on that thing, i'm test into the 404 page (/en/foobar
). but weirdly, the page shows a blank page with a bunch of errors log-ed in chrome terminals. So, how to fix that blank page?(I'm try to build and no errors come up)
Answered by Hexaa Scoooolzs
Okay i'm get it. the errors triggers because the parent layout
/app/layout.tsx
is empty or returned only children
. I'm fix it by just do add <html><body>
things and it works perfectly.1 Reply
Hexaa ScoooolzsOP
Okay i'm get it. the errors triggers because the parent layout
/app/layout.tsx
is empty or returned only children
. I'm fix it by just do add <html><body>
things and it works perfectly.Answer