How can I break layout in nextjs? #66588
Unanswered
ShourovRoy
asked this question in
App Router
Replies: 1 comment 6 replies
-
It might be helpful to use Parallel Routes. In your top-level component, you can conditionally render either the children or the Parallel Routes based on the specific route. https://nextjs.org/docs/app/building-your-application/routing/parallel-routes |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In remix or sveltekit I can break layouts, For example if I have a Blog route which has a layout and the blog has 2 nested routes, 1 nested route will use the parent blog layout but another one can break that layout or totally empty the layout.
Is that possible in nextjs?
Beta Was this translation helpful? Give feedback.
All reactions