Update docs to always use yarn add --cwd for app & backend

Some commands currently error, and others are simply formatted inconsistently.
This format seems to work and be the most popular/common,
so I applied it to all similar occurrences.

Signed-off-by: Jan Van Bruggen <JanVB@verily.com>
This commit is contained in:
Jan Van Bruggen
2023-02-09 13:34:03 -07:00
parent 92444b3521
commit c51efce2a0
27 changed files with 76 additions and 46 deletions
@@ -50,8 +50,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: