docs: remove function call from all backend feature installation instructions
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -24,7 +24,7 @@ const backend = createBackend();
|
||||
backend.add(import('@backstage/plugin-catalog-backend/alpha'));
|
||||
|
||||
// Features can also be installed using an explicit reference
|
||||
backend.add(scaffolderPlugin());
|
||||
backend.add(scaffolderPlugin);
|
||||
|
||||
// Start up the backend
|
||||
backend.start();
|
||||
|
||||
@@ -41,7 +41,7 @@ The `createBackendPlugin` return value is exported as `examplePlugin`, which is
|
||||
```ts
|
||||
import { examplePlugin } from 'backstage-plugin-example-backend';
|
||||
|
||||
backend.add(examplePlugin());
|
||||
backend.add(examplePlugin);
|
||||
```
|
||||
|
||||
By convention every plugin package should export its plugin instance as the default export from the package:
|
||||
|
||||
Reference in New Issue
Block a user