Routing and data
File routes, layouts and API routes, then loaders, the document head, redirects, errors and not-found, navigation and preloading.
A file in src/routes defines a page or an HTTP endpoint. Use folders for nested URLs and layouts, then add loaders, error states and caching where the route needs them.
Start with Routes are files.