Update docs/frontend-system/architecture/07-routes.md

Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: Camila Belo <camilaibs@gmail.com>
This commit is contained in:
Camila Belo
2024-01-12 15:12:43 +01:00
parent ed670cec06
commit fa379b6333
@@ -421,7 +421,7 @@ app:
plugin.scaffolder.externalRoutes.componentDetails: plugin.catalog.routes.details
```
Or via code, in the file where the app is created:
We also have the ability to express this in code as an option to `createApp`, but you of course only need to use one of these two methods:
```tsx
// packages/app/src/App.tsx