Merge pull request #24140 from CiscoRob/patch-3

Update plugin/badges README instructions that show an export when it should be import
This commit is contained in:
Fredrik Adelöw
2024-04-11 14:38:33 +02:00
committed by GitHub
2 changed files with 6 additions and 2 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-badges': patch
---
Update README to fix invalid import command
+1 -2
View File
@@ -88,8 +88,7 @@ yarn --cwd packages/app add @backstage/plugin-badges
This plugin requires explicit registration, so you will need to add it to your App's `plugins.ts` file:
```ts
// ...
export { badgesPlugin } from '@backstage/plugin-badges';
import { badgesPlugin } from '@backstage/plugin-badges';
```
If you don't have a `plugins.ts` file see: [troubleshooting](#troubleshooting)