Merge pull request #16286 from JanCVanB/update_yarn_add_cwd_docs

Update docs to always use `yarn add --cwd` for app & backend
This commit is contained in:
Fredrik Adelöw
2023-02-14 12:15:20 +01:00
committed by GitHub
27 changed files with 76 additions and 46 deletions
@@ -51,8 +51,8 @@ with the environment variable \`LAS_CORS\` set to \`true\`._
When you have an instance running that Backstage can hook into, first install the plugin into your app:
\`\`\`sh
cd packages/app
yarn add @backstage/plugin-lighthouse
# From your Backstage root directory
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: