diff --git a/content/docs/utilities/runner.mdx b/content/docs/utilities/runner.mdx index 355c350f19..db5f6168f8 100644 --- a/content/docs/utilities/runner.mdx +++ b/content/docs/utilities/runner.mdx @@ -408,23 +408,12 @@ Key dependencies: ### Add Custom Routes -Edit `src/App.tsx`: - -```typescript -import { BrowserRouter, Routes, Route } from 'react-router-dom' - -function App() { - return ( - - - } /> - } /> - } /> - - - ) -} -``` +There is no route table to edit and no router dependency to install — the Runner derives +routes from metadata. `src/App.tsx` keeps the current path in state, navigates with +`history.pushState`, and asks the active loader for whatever page answers that path. So +adding a route means adding the page document it resolves to: see +[Add Custom Schemas](#add-custom-schemas) below, and [Metadata Loading](#metadata-loading) +for how a route maps to a file or a request. ### Add Custom Components