mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
This allows injecting client bootstrap code using only next.config.js (without writing to any user source files).
20 lines
348 B
TypeScript
20 lines
348 B
TypeScript
import Link from 'next/link'
|
|
|
|
export default function RootLayout({ children }) {
|
|
return (
|
|
<html>
|
|
<body>
|
|
<ul>
|
|
<li>
|
|
<Link href="/">Home</Link>
|
|
</li>
|
|
<li>
|
|
<Link href="/some-page">Some Page</Link>
|
|
</li>
|
|
</ul>
|
|
{children}
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|