How to?
- We make a conditional in the _app.ts to render something that we don't want to render only if the page says so.
- To do the above we make use of the
pageProps
that are the props passed on the _app.ts before to the actual page component, we can pass something likenoLayout
and make a conditional to not show the layout if the props exists or is true.