Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 592 Bytes

README.md

File metadata and controls

29 lines (21 loc) · 592 Bytes

Backstage graphql-voyager plugin

Setup

  1. 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
  1. Add the GraphqlVoyagerPage page 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>
  1. Add app config:
  graphql:
    baseUrl: 'https://www.myapi.com/graphql'