Files
backstage/plugins/explore
Patrik Oldsberg c614ede9a5 docs: update plugin installation docs
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2021-04-22 18:32:54 +02:00
..
2021-02-03 09:37:55 +01:00
2021-03-31 12:21:12 +00:00
2021-04-22 13:19:35 +00: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, add 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 />} />

And add a link to the sidebar in Root.tsx:

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

...

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