Udit
Nested layouts with dynamic route
I think start first by creating a folder called plan, then nest a folder named [id] and nest the file like select.jsx/tsx.
In order to specify a layout create an index.jsx/tsx or (plan).jsx/tsx page in plan folder. In that file,return a default component which accepts children as props and render {props.children} in that component.
6 replies