629884af7d
- Update Next.js version to 10.0.0 - Update the other dependencies - Modify `next.config.js` to prevent circular `__self` and `__source`in dev env (ref: https://github.com/developit/nextjs-preact-demo/issues/25)
26 lines
443 B
JavaScript
26 lines
443 B
JavaScript
import Link from 'next/link'
|
|
|
|
export default function Home() {
|
|
return (
|
|
<div>
|
|
Hello World.{' '}
|
|
<ul>
|
|
<li>
|
|
<Link href="/about">
|
|
<a>About</a>
|
|
</Link>
|
|
</li>
|
|
<li>
|
|
<Link href="/ssr">
|
|
<a>SSR</a>
|
|
</Link>
|
|
</li>
|
|
<li>
|
|
<Link href="/ssg">
|
|
<a>SSG</a>
|
|
</Link>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
)
|
|
}
|