From 86b0d852d9b46a0f6590a014f1d2824d9476d6f1 Mon Sep 17 00:00:00 2001 From: Tadashi Nemoto Date: Tue, 2 Mar 2021 11:10:20 +0900 Subject: [PATCH] Modify to latest by feedback --- plugins/lighthouse/src/components/Intro/index.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/lighthouse/src/components/Intro/index.tsx b/plugins/lighthouse/src/components/Intro/index.tsx index 8e8f9ac88f..1756f441a5 100644 --- a/plugins/lighthouse/src/components/Intro/index.tsx +++ b/plugins/lighthouse/src/components/Intro/index.tsx @@ -53,18 +53,18 @@ Then make sure to export the plugin in your app's [\`plugins.ts\`](https://githu export { plugin as LighthousePlugin } from '@backstage/plugin-lighthouse'; \`\`\` -Modify your app routes in \`App.tsx\` to include the Router component exported from the plugin, for example: +Modify your app routes in \`App.tsx\` or \`App.jsx\` to include the Router component exported from the plugin, for example: \`\`\`js // At the top imports -import { Router as LighthouseRouter } from '@backstage/plugin-lighthouse'; +import { LighthousePage } from '@backstage/plugin-lighthouse'; // Inside App component - + // ... - } /> + } /> // ... -; +; \`\`\` Then configure the \`lighthouse-audit-service\` URL in your [\`app-config.yaml\`](https://github.com/backstage/backstage/blob/master/app-config.yaml).