Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 547 Bytes

switching-graphQL-IDEs.md

File metadata and controls

7 lines (4 loc) · 547 Bytes

Switching GraphQL IDEs

When using Gatsby I like to switch my GraphQL IDEs from GraphiQL to GraphQL Playground as I prefer the UI and for me it's easier to navigate through the documentation.

To do this you simple add GATSBY_GRAPHQL_IDE=playground into your .env file. You will be need to have the NPM package dotenv install within your enviroment though.

For Gatsby I add require('dotenv').config(); to the top of my gatsby-config.js file.