From 98df1501c706e961db83ee0c6ec94c0a698a7ed9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ullrich=20Sch=C3=A4fer?= Date: Fri, 27 Mar 2026 20:46:16 +0100 Subject: [PATCH] Document explicit route registration requirement in CLAUDE.md Co-Authored-By: Claude Opus 4.6 (1M context) --- CLAUDE.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CLAUDE.md b/CLAUDE.md index f50f611..c525e98 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -81,6 +81,7 @@ pnpm db:studio # Open Drizzle Studio (DB browser) ## Code Conventions +- **Route registration**: Both apps use explicit `routes.ts` (not file-based routing). When adding a new route file, you **must** add it to `apps/*/app/routes.ts` or it won't be compiled into the build. - All user-facing strings must use i18n (`useTranslation()` hook, never hardcode strings) - Use `@trails-cool/types` for shared interfaces — don't duplicate type definitions - Map components go in `@trails-cool/map`, not in individual apps