File Conventions
default.js
API Reference for the default.js file.
error.js
API reference for the error.js special file.
forbidden.js
API reference for the forbidden.js special file.
instrumentation.js
API reference for the instrumentation.js file.
instrumentation-client.js
Learn how to add client-side instrumentation to track and monitor your Next.js application's frontend performance.
layout.js
API reference for the layout.js file.
loading.js
API reference for the loading.js file.
mdx-components.js
API reference for the mdx-components.js file.
middleware.js
API reference for the middleware.js file.
not-found.js
API reference for the not-found.js file.
page.js
API reference for the page.js file.
route.js
API reference for the route.js special file.
Route Segment Config
Learn about how to configure options for Next.js route segments.
template.js
API Reference for the template.js file.
unauthorized.js
API reference for the unauthorized.js special file.
Metadata Files
API documentation for the metadata file conventions.
Was this helpful?