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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user