Add info to bind route
Signed-off-by: Axel Koehler <axel@staffbase.com>
This commit is contained in:
@@ -11,10 +11,19 @@ To install the plugin, include the following import your `plugins.ts`:
|
||||
export { explorePlugin } from '@backstage/plugin-explore';
|
||||
```
|
||||
|
||||
Register the route in `App.tsx`:
|
||||
Register and bind the route in `App.tsx`:
|
||||
|
||||
```typescript
|
||||
import { ExplorePage } from '@backstage/plugin-explore';
|
||||
import { ExplorePage, explorePlugin } from '@backstage/plugin-explore';
|
||||
|
||||
...
|
||||
|
||||
bindRoutes({ bind }) {
|
||||
...
|
||||
bind(explorePlugin.externalRoutes, {
|
||||
catalogEntity: catalogPlugin.routes.catalogEntity,
|
||||
});
|
||||
},
|
||||
|
||||
...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user