next.js/test/e2e/app-dir/prefetching-not-found/app/layout.tsx
layout.tsx20 lines361 B
// we want the layout to opt-out of static prefetching
export const dynamic = 'force-dynamic'

import Link from 'next/link'

export default function RootLayout({
  children,
}: {
  children: React.ReactNode
}) {
  return (
    <html lang="en">
      <body>
        <Link href="/">Link to `/`</Link>
        <div>{children}</div>
      </body>
    </html>
  )
}
Quest for Codev2.0.0
/
SIGN IN