# app/pages

> 

This is the page routing root.

Supported route files include:

- `layout.*`
- `page.*`
- `error.*`
- `loading.*`
- `loader.ts`
- `action.ts`
- `middleware.ts`

Supported segment styles include:

- static segments
- `[param]`
- `[...catchAll]`
- route groups such as `(marketing)`

Additional routing conventions:

- use `index/` for a directory's own route when that directory also contains child route directories
- `foo/middleware.ts` applies to the `foo` subtree
- `foo/index/middleware.ts` applies only to the `foo` index route

`app/pages` owns page paths. If a `server/routes` pattern overlaps, Vuloom throws instead of splitting ownership.
