create-new-routes
学习如何在The Lab中创建新路由。
📖 中文导读:学习如何在The Lab中创建新路由。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: Create New Routes description: Learn how to create a new route in The Lab.
Create New Routes
This skill creates production-ready React routes following Lab's established architecture patterns.
Routing & Pages
- Route files in
src/routes/- thin TanStack Router definitions - Page components in
src/pages/- UI implementations - Page-scoped components in
pages/[section]/components/ - Dynamic routes use
$param.tsxsyntax - Always barrel export via
index.tsx