Update docs/frontend-system/building-plugins/05-migrating.md

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2025-04-08 18:39:29 +02:00
committed by GitHub
parent 08b11ad513
commit cbd9b98805
@@ -120,7 +120,7 @@ const fooPage = PageBlueprint.make({
// This is the path that was previously defined in the app code.
// It's labelled as the default one because it can be changed via configuration.
defaultPath: '/foo',
// You can reuse the existing routeRef by wrapping into the convertLegacyRouteRef.
// You can reuse the existing routeRef by wrapping it with convertLegacyRouteRef.
routeRef: convertLegacyRouteRef(rootRouteRef),
// these inputs usually match the props required by the component.
loader: () =>