001a67dfd9
This PR adds a test fixture `e2e/app-dir/next-image` to ensure `next/image` works with the `app` dir.
15 lines
304 B
JavaScript
15 lines
304 B
JavaScript
import Comp from './Comp'
|
|
import Image from 'next/image'
|
|
import testPng from '../images/test.png'
|
|
|
|
export default function Page() {
|
|
return (
|
|
<>
|
|
<h2>app-page</h2>
|
|
<Image id="app-page" src={testPng} quality={90} />
|
|
<Comp />
|
|
</>
|
|
)
|
|
}
|
|
|
|
export const runtime = 'experimental-edge'
|