next.js/test/e2e/app-dir/initial-css-not-found/app/not-found.tsx
not-found.tsx19 lines479 B
import styles from './styles.module.css'

/**
 * The mere existence of a not found page importing the same css as a layout used to prevent it from being served.
 *
 * See https://github.com/vercel/next.js/issues/77861 and https://github.com/vercel/next.js/issues/79535
 */
export default function NotFoundPage() {
  return (
    <html lang="en">
      <body className={styles.foo}>
        <main>
          <h1>Page not found</h1>
        </main>
      </body>
    </html>
  )
}
Quest for Codev2.0.0
/
SIGN IN