Add install instructions for older nevironments

Signed-off-by: Marek Libra <marek.libra@gmail.com>
This commit is contained in:
Marek Libra
2024-08-06 16:05:57 +02:00
parent e2d34cfcdc
commit f4612847a2
5 changed files with 107 additions and 101 deletions
+1 -17
View File
@@ -9,23 +9,7 @@ Signals plugin allows backend plugins to publish messages to frontend plugins.
This plugin contains client that can receive messages from the backend. To get started,
see installation instructions from `@backstage/plugin-signals-node`, `@backstage/plugin-signals-backend`.
To install the plugin, you have to add the following to your `packages/app/src/plugins.ts`:
```ts
export { signalsPlugin } from '@backstage/plugin-signals';
```
And make sure that your `packages/app/src/App.tsx` contains:
```ts
import * as plugins from './plugins';
const app = createApp({
// ...
plugins: Object.values(plugins),
// ...
});
```
To install this signals frontend plugin, please refer the [Getting Started](https://backstage.io/docs/notifications) Backstage Notifications and Signals documentation section.
Now you can utilize the API from other plugins using the `@backstage/plugin-signals-react` package or simply by: