Files
Hendrik LiebauandGitHub 99507d5153 [test] Make Undefined default export an e2e test suite (#84240)
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.
2025-09-26 09:47:01 +02:00

5 lines
86 B
JavaScript

// Not a default export.
export function NotFound() {
return <div>not found</div>
}