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