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:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-badges': patch
|
||||
---
|
||||
|
||||
Update README to fix invalid import command
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user