Files
backstage/plugins/explore
Axel Koehler bec7625998 Add info to bind route
Signed-off-by: Axel Koehler <axel@staffbase.com>
2021-03-26 08:16:23 +01:00
..
2021-02-03 09:37:55 +01:00
2021-03-12 15:06:01 +03:00
2021-03-18 12:31:44 +00:00
2021-03-25 17:46:13 +00:00
2021-03-26 08:16:23 +01:00

explore

Welcome to the explore plugin! This plugin helps to visualize the domains and tools in your ecosystem.

Getting started

To install the plugin, include the following import your plugins.ts:

export { explorePlugin } from '@backstage/plugin-explore';

Register and bind the route in App.tsx:

import { ExplorePage, explorePlugin } from '@backstage/plugin-explore';

...

bindRoutes({ bind }) {
  ...
  bind(explorePlugin.externalRoutes, {
    catalogEntity: catalogPlugin.routes.catalogEntity,
  });
},

...

<Route path="/explore" element={<ExplorePage />} />

Add a link to the sidebar in Root.tsx:

import LayersIcon from '@material-ui/icons/Layers';

...

<SidebarItem icon={LayersIcon} to="explore" text="Explore" />