檔案慣例
default.js
default.js 檔案的 API 參考。
error.js
error.js 特殊檔案的 API 參考。
instrumentation.js
instrumentation.js 檔案的 API 參考。
layout.js
layout.js 檔案的 API 參考。
loading.js
loading.js 檔案的 API 參考。
mdx-components.js
mdx-components.js 檔案的 API 參考。
middleware.js
middleware.js 檔案的 API 參考。
not-found.js
not-found.js 檔案的 API 參考。
page.js
page.js 檔案的 API 參考。
route.js
route.js 特殊檔案的 API 參考。
路由區段設定
瞭解如何設定 Next.js 路由區段的選項。
template.js
template.js 檔案的 API 參考。
Metadata 檔案
Metadata 檔案慣例的 API 文件。
這有幫助嗎?