0.1.1 • Published 4 years ago
@shipshapecode/backstage-plugin-graphql-voyager v0.1.1
Backstage graphql-voyager plugin
Setup
- If you have a standalone app (you didn't clone this repo), then do
# From your Backstage root directory
cd packages/app
yarn add @shipshapecode/plugin-graphql-voyager- Add the GraphqlVoyagerPagepage to the routes in your app:
import { GraphqlVoyagerPage } from '@shipshapecode/plugin-graphql-voyager';
// down in the sidebar
    <Route path="/graphql-voyager" element={<GraphqlVoyagerPage />}/>
  </FlatRoutes>
</SidebarPage>- Add app config:
  graphql:
    baseUrl: 'https://www.myapi.com/graphql'