docs(frontend-system): export route when providing refs

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-11 17:40:06 +01:00
parent c0a0452bb8
commit 70fdbad26a
@@ -65,7 +65,7 @@ The code snippet of the previous section does not indicate which plugin the rout
// plugins/catalog/src/routes.ts
import { createRouteRef } from '@backstage/frontend-plugin-api';
const rootRouteRef = createRouteRef(); // [1]
export const rootRouteRef = createRouteRef(); // [1]
// plugins/catalog/src/plugin.tsx
import { createPlugin, createPageExtension } from '@backstage/frontend-plugin-api';