Is there a way to remove the base layout for a specific page in NextJS 13 ? I have a general layout for mosts of my views, but some of them require a separated layout, I don't find any solution now.
I've tried to make "groups" of folders with the same layout at the app/ root, but this way is really annoying and kills the project files arborescence.
SOLUTION :
The answer solution is great, but I advise you doing so for general purpose :
https://stackoverflow.com/a/76251557/21820614
Personally, for my project structure, I needed a route which contains a layout, with a header etc, and another route which has no layout at all. I used the link provided above and I made ghost groups for my "root" routes.
BUT, I also needed differents contents in the header (contained in the layout), depending on the route I was in. For doing so, I used the LayoutProvider, with the answer below, and it works great !