d66a3ec9ab
Add `titleRouteRef` to `PageLayoutProps` so the plugin header title links back to the plugin root. `PageBlueprint` resolves it from `plugin.routes.root` with fallback to `params.routeRef`. - PageLayout swap resolves the title link via a conditional child component that calls `useRouteRef` only when a route ref exists - Header actions get stable React keys via `cloneElement` Signed-off-by: Johan Persson <johanopersson@gmail.com>
example-app
This package is the main example Backstage application using the new frontend system.
To play with it, open a terminal and run the command: yarn start
NOTE: Don't forget to open a second terminal and to launch the backend there, using yarn start! The frontend requires a backend to connect to.