Formatta la documentazione con prettier
Solo whitespace: tabelle allineate, enfasi normalizzata (* -> _), a capo coerenti. Nessuna modifica di contenuto. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
+10
-10
@@ -7,15 +7,15 @@ is `src/routes/__root.tsx`.
|
||||
|
||||
## Conventions
|
||||
|
||||
| File | URL |
|
||||
| --- | --- |
|
||||
| `index.tsx` | `/` |
|
||||
| `about.tsx` | `/about` |
|
||||
| `users/index.tsx` | `/users` |
|
||||
| `users/$id.tsx` | `/users/:id` (dynamic — bare `$`, no curly braces) |
|
||||
| `posts/{-$category}.tsx` | `/posts/:category?` (optional segment) |
|
||||
| `files/$.tsx` | `/files/*` (splat — read via `_splat` param, never `*`) |
|
||||
| `_layout.tsx` | layout route (renders children via `<Outlet />`) |
|
||||
| `__root.tsx` | app shell — wraps every page; preserve `<Outlet />` |
|
||||
| File | URL |
|
||||
| ------------------------ | ------------------------------------------------------- |
|
||||
| `index.tsx` | `/` |
|
||||
| `about.tsx` | `/about` |
|
||||
| `users/index.tsx` | `/users` |
|
||||
| `users/$id.tsx` | `/users/:id` (dynamic — bare `$`, no curly braces) |
|
||||
| `posts/{-$category}.tsx` | `/posts/:category?` (optional segment) |
|
||||
| `files/$.tsx` | `/files/*` (splat — read via `_splat` param, never `*`) |
|
||||
| `_layout.tsx` | layout route (renders children via `<Outlet />`) |
|
||||
| `__root.tsx` | app shell — wraps every page; preserve `<Outlet />` |
|
||||
|
||||
`routeTree.gen.ts` is auto-generated. Don't edit it by hand.
|
||||
|
||||
Reference in New Issue
Block a user