This example uses the browserified, unminified CDN version of GraphiQL found in packages/graphiql to make it easy to test changes. It's also used by netlify builds
- Run
yarn
andyarn build
in the root of this project - Navigate to this directory (packages/examples/graphiql-cdn) in Terminal
- Then, run
yarn setup
andyarn start
- Open your browser to the automatically generated address listed in your console. e.g.
Started on http://localhost:49811/
- If the
setup
script fails, it's becausegraphiql
hasn't been built. - Thanks to @orta being super clever, if you run this from a host other than localhost (i.e. remotely or by changing your /etc/hosts file) it will load the remote swapi graphql instead of the local server (the old graphcool one for now)