檔案慣例
default.js
關於 default.js 檔案的 API 參考文檔。
error.js
關於 error.js 特殊檔案的 API 參考文件。
layout.js
關於 layout.js 檔案的 API 參考文件。
loading.js
關於 loading.js 檔案的 API 參考文件。
not-found.js
關於 not-found.js 檔案的 API 參考文件。
page.js
關於 page.js 檔案的 API 參考文件。
route.js
關於 route.js 特殊檔案的 API 參考文件。
路由區段設定 (Route Segment Config)
了解如何設定 Next.js 路由區段的選項。
template.js
template.js 檔案的 API 參考文件。
元數據檔案
關於元數據檔案約定的 API 文件說明。