mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
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
11 lines
196 B
TypeScript
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>
|
|
</>
|
|
)
|
|
}
|