什麼是 cloudwerk-routing?
Cloudwerk 的檔案為基礎的路由約定,Cloudwerk 是 Cloudflare Workers 的全端框架。在建立頁面、API 路由、佈局、中介軟體或錯誤邊界時使用。在涉及路由檔案(page.tsx、route.ts、layout.tsx、middleware.ts、error.tsx、not-found.tsx)、動態段([id]、[...slug])、路由群組((group))、載入器、操作或資料載入模式的任務上觸發。 來源:squirrelsoft-dev/cloudwerk。