Question
Answered
Samir posted this in #help-forum
SamirOP
Any way to force a page not to use parent's layout?
Answered by Giant Angora
You can use Route Group for this so you would end up with something like this:
dashboard/(shared)/layout.tsxdashboard/(standalone)/profile/layout.tsx dashboard/(standalone)/profile/page.tsx3 Replies
SamirOP
I have
dashboard/layout.tsxdashboard/profile/page.tsx -> I don't want it to have layout from parentGiant Angora
You can use Route Group for this so you would end up with something like this:
dashboard/(shared)/layout.tsxdashboard/(standalone)/profile/layout.tsx dashboard/(standalone)/profile/page.tsxAnswer
SamirOP
oh thanks! It worked