[#10459] 📝 Update documentation to use yarn --cwd arg

Signed-off-by: LvffY <louberger@hotmail.fr>
This commit is contained in:
LvffY
2022-03-30 15:53:05 +02:00
parent 23d032e987
commit f3101fb9d2
46 changed files with 65 additions and 110 deletions
+2 -3
View File
@@ -27,10 +27,9 @@ _It's likely you will need to [enable CORS](https://developer.mozilla.org/en-US/
When you have an instance running that Backstage can hook into, first install the plugin into your app:
```sh
```bash
# From your Backstage root directory
cd packages/app
yarn add @backstage/plugin-lighthouse
yarn add --cwd packages/app @backstage/plugin-lighthouse
```
Modify your app routes in `App.tsx` to include the `LighthousePage` component exported from the plugin, for example: