Update README.md

Typo in the plugin name. 
Router is not needed.

Signed-off-by: Bren <brenwhyte@gmail.com>
This commit is contained in:
Bren
2023-02-21 15:27:35 +00:00
committed by GitHub
parent db7c2c6a3a
commit 5a2ad3b021
+1 -2
View File
@@ -8,13 +8,12 @@ Lighthouse Backend allows you to run scheduled lighthouse Tests for each Website
```bash
# From your Backstage root directory
yarn add --cwd packages/backend @backstage/lighthouse-backend
yarn add --cwd packages/backend @backstage/plugin-lighthouse-backend
```
2. Create a `lighthouse.ts` file inside `packages/backend/src/plugins/`:
```typescript
import { Router } from 'express';
import { createScheduler } from '@backstage/plugin-lighthouse-backend';
import { PluginEnvironment } from '../types';
import { CatalogClient } from '@backstage/catalog-client';