Question · Next.js course · Module 2: Routing and Layouts
The not-found.js File
The not-found.js file in App Router is displayed:
Answer options
- When a resource is not found (404)
- At the end of the application
- While loading
- On server error
Show the answer
Correct answer:
- When a resource is not found (404)