@shipshapecode/backstage-plugin-graphql-voyager
v0.1.1
Published
## Setup
Downloads
1
Readme
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
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>
- Add app config:
graphql:
baseUrl: 'https://www.myapi.com/graphql'