mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
29 lines
509 B
JavaScript
29 lines
509 B
JavaScript
|
import Link from 'next/link'
|
||
|
|
||
|
export default () => {
|
||
|
return <div>
|
||
|
<ul>
|
||
|
<li>
|
||
|
<Link href='/' prefetch>
|
||
|
<a>index</a>
|
||
|
</Link>
|
||
|
</li>
|
||
|
<li>
|
||
|
<Link href='/process-env' prefetch>
|
||
|
<a>process env</a>
|
||
|
</Link>
|
||
|
</li>
|
||
|
<li>
|
||
|
<Link href='/counter' prefetch>
|
||
|
<a>counter</a>
|
||
|
</Link>
|
||
|
</li>
|
||
|
<li>
|
||
|
<Link href='/about' prefetch>
|
||
|
<a>about</a>
|
||
|
</Link>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
}
|