RootLayout has no effect on pages
Answered
Rainbow trout posted this in #help-forum
Rainbow troutOP
I am using the standard create-next-app. Adding a new page like in the following structure is not using the RootLayout. Does anyone see the issue here?
Answered by Rainbow trout
There are very outdated documentations floating around. Eventhough i am not migrating, understanding this page helped a lot https://nextjs.org/docs/pages/building-your-application/upgrading/app-router-migration
2 Replies
Root layout (layout.tsx for that matter) is of course, a feature only available on the
app dirRainbow troutOP
There are very outdated documentations floating around. Eventhough i am not migrating, understanding this page helped a lot https://nextjs.org/docs/pages/building-your-application/upgrading/app-router-migration
Answer