docs(frontend-system): apply binding routes suggestions

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-09 09:47:20 +01:00
parent 324cfdce7d
commit 103d2e11d1
@@ -72,7 +72,7 @@ import { createPlugin, createPageExtension } from '@backstage/frontend-plugin-ap
import { rootRouteRef } from './routes';
const rootPage = createPageExtension({ // [2]
// Ommiting name since it is the root page
// The `name` option is omitted since this is the root page
defaultPath: '/'
routeRef: rootRouteRef,
loader: async () => <Page>Root Page</Page>