Next.js Discord

Discord Forum

Excluding a specific page from layout.tsx

Answered
Wuchang bream posted this in #help-forum
Open in Discord
Wuchang breamOP
I'm trying to exclude my /about page from displaying the header (the header is located within the layout component). What's the best way to achieve it within Nextjs natively?
Answered by riský
i dont know what he was meaning, but you can use route groups and add every page you want with the layout in that sub folder and leave the things without on the main folder
View full answer

7 Replies

West African Lion
where is the chinese pannel
Wuchang breamOP
@West African Lion what is that supposed to mean?
i dont know what he was meaning, but you can use route groups and add every page you want with the layout in that sub folder and leave the things without on the main folder
Answer
@West African Lion where is the chinese pannel
there are no chinese channels here. this server is english-only
please continue further queries regarding this matter in #discord-feedback
Yay happy to help!