implement suggestions

Signed-off-by: secustor <sebastian@poxhofer.at>
This commit is contained in:
secustor
2025-09-15 05:24:18 +02:00
parent 871888a3a1
commit 579f2ad003
2 changed files with 10 additions and 6 deletions
@@ -54,6 +54,12 @@ Import `catalogUnprocessedEntitiesPlugin` in your `App.tsx` and add it to your a
import catalogUnprocessedEntitiesPlugin from '@backstage/plugin-catalog-unprocessed-entities';
import { unprocessedEntitiesDevToolsRoute } from '@backstage/plugin-catalog-unprocessed-entities/alpha';
// Optionally add unprocessed entities route to devtools
const appFeature = createFrontendModule({
pluginId: 'app',
extensions: [unprocessedEntitiesDevToolsRoute],
});
export const app = createApp({
features: [
appFeature,
@@ -62,12 +68,6 @@ export const app = createApp({
// ...
],
});
// Optionally add unprocessed entities route to devtools
const appFeature = createFrontendModule({
pluginId: 'app',
extensions: [unprocessedEntitiesDevToolsRoute],
});
```
## Customization
+4
View File
@@ -164,6 +164,10 @@ You can also add tabs to show content from other plugins that fit well with the
Create an extension and/or load a 3rd party extension to add additional tabs.
```shell
yarn --cwd plugins/<your-plugin> add @backstage/plugin-devtools-react
```
```tsx
import { DevToolsRouteBlueprint } from '@backstage/plugin-devtools-react';