Next.js Discord

Discord Forum

How do I create a layout for the index, and a completely separate layout for all my other routes?

Answered
Tiphiid wasp posted this in #help-forum
Open in Discord
Tiphiid waspOP
I'm not talking about a unique layout within each "page" folder, but a global layout for all pages except the index, which will have its own layout?
Answered by Tiphiid wasp
Solved: Not sure if this would be the correct way to do it but I did this:

Moved everything thats not the index into a (name) folder
View full answer

2 Replies

Tiphiid waspOP
Solved: Not sure if this would be the correct way to do it but I did this:

Moved everything thats not the index into a (name) folder
Answer