graphiql: move to new plugin pattern

This commit is contained in:
Patrik Oldsberg
2020-09-08 10:28:17 +02:00
parent c7798b3910
commit 493e8052b8
4 changed files with 5 additions and 7 deletions
+2
View File
@@ -28,6 +28,7 @@ import { hot } from 'react-hot-loader/root';
import { providers } from './identityProviders';
import { Router as CatalogRouter } from '@backstage/plugin-catalog';
import { Router as DocsRouter } from '@backstage/plugin-techdocs';
import { Router as GraphiQLRouter } from '@backstage/plugin-graphiql';
import { Router as TechRadarRouter } from '@backstage/plugin-tech-radar';
import { Route, Routes, Navigate } from 'react-router';
@@ -66,6 +67,7 @@ const AppRoutes = () => (
path="/tech-radar"
element={<TechRadarRouter width={1500} height={800} />}
/>
<Route path="/graphiql" element={<GraphiQLRouter />} />
{...deprecatedAppRoutes}
</Routes>
);