mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
We can now support `next export` for `appDir` because of the new config added in #46744. fixes NEXT-775 ([NEXT-775](https://linear.app/vercel/issue/NEXT-775))
27 lines
603 B
JavaScript
27 lines
603 B
JavaScript
import Link from 'next/link'
|
|
|
|
export default function Home() {
|
|
return (
|
|
<main>
|
|
<h1>Home</h1>
|
|
<ul>
|
|
<li>
|
|
<Link href="/another">another no trailingslash</Link>
|
|
</li>
|
|
<li>
|
|
<Link href="/another/">another has trailingslash</Link>
|
|
</li>
|
|
<li>
|
|
<Link href="/another/first">another first page</Link>
|
|
</li>
|
|
<li>
|
|
<Link href="/another/second">another second page</Link>
|
|
</li>
|
|
<li>
|
|
<Link href="/image-import">image import page</Link>
|
|
</li>
|
|
</ul>
|
|
</main>
|
|
)
|
|
}
|