路由系统深入解析
App Router 使用文件系统作为路由定义方式。通过 page.tsx、layout.tsx、loading.tsx 等特殊文件,可以快速构建复杂的路由结构。
路径: /routing-demo/articles/routing-deep-dive | 匹配: app/routing-demo/articles/[id]/page.tsxApp Router 使用文件系统作为路由定义方式。通过 page.tsx、layout.tsx、loading.tsx 等特殊文件,可以快速构建复杂的路由结构。
路径: /routing-demo/articles/routing-deep-dive | 匹配: app/routing-demo/articles/[id]/page.tsx