Fixed documentation on imports of the plugin-techdocs-backend

Signed-off-by: Floww <Floww@users.noreply.github.com>
This commit is contained in:
Floww
2024-04-18 20:58:08 +02:00
parent a9425c749b
commit 01950c21a0
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -213,7 +213,7 @@ const backend = createBackend();
// Other plugins...
/* highlight-add-start */
backend.add(import('@backstage/plugin-search-backend-module-catalog/alpha'));
backend.add(import('@backstage/plugin-techdocs-backend/alpha'));
/* highlight-add-end */
backend.start();
+3 -3
View File
@@ -759,11 +759,11 @@ const techdocsCustomerBuildStrategy = createBackendModule({
// Other plugins...
/* highlight-add-start */
backend.add(import('@backstage/plugin-search-backend-module-catalog/alpha'));
backend.add();
backend.add(import('@backstage/plugin-techdocs-backend/alpha'));
backend.add(techdocsCustomerBuildStrategy());
/* highlight-add-end */
backend.start(techdocsCustomerBuildStrategy());
backend.start();
```
> Note: You may need to add the `@backstage/plugin-techdocs-node` package to your backend `package.json` if it's not been imported already.