Files
Jimmy LaiandGitHub bc9ed9de98 router: support layout/special files as direct children of parallel routes (#51604)
follow up on #51413 where I kinda forgot to support parsing layout files in sub routes in a parallel segment.

This should fix it by making sure that we check at all level of the app loader tree and by creating an implicit inner `children` for all parallel slot



link NEXT-1301
2023-06-21 11:16:21 +00:00

11 lines
196 B
TypeScript

import Link from 'next/link'
export default function Page() {
return (
<>
<div>slot children</div>
<Link href="/parallel-layout/subroute">parallel subroute</Link>
</>
)
}