mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
This also adds a build-time test, documenting the unhelpful error messages we currently show during prerendering, when an app router file does not have a default export.
6 lines
92 B
JavaScript
6 lines
92 B
JavaScript
import { notFound } from 'next/navigation'
|
|
|
|
export default function Page() {
|
|
notFound()
|
|
}
|