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))
19 lines
343 B
JavaScript
19 lines
343 B
JavaScript
import Link from 'next/link'
|
|
import img from './test.png'
|
|
|
|
export default function ImageImport() {
|
|
return (
|
|
<main>
|
|
<h1>Image Import</h1>
|
|
<ul>
|
|
<li>
|
|
<Link href="/">Visit the home page</Link>
|
|
</li>
|
|
<li>
|
|
<a href={img.src}>View the image</a>
|
|
</li>
|
|
</ul>
|
|
</main>
|
|
)
|
|
}
|