edwinb24 / wpgraphql-gatsby-front-end

Front-end initial setup ready to use for WPGraphQL Gatsby Projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wpgraphql-gatsby-front-end

Front-end initial setup ready to use for WPGraphQL Gatsby Projects

Remember to change the gatsby-source-graphql plugin source url to http://mytestpage.com/graphql? in the gatsby-config file.

Running your first query... Stop gatsby develop if it was running and re-run the command. Go to port http://localhost:8000/___graphql

Test Query:

{ pages { nodes { title id } } }

This should return all the pages titles and ids.

About

Front-end initial setup ready to use for WPGraphQL Gatsby Projects

License:MIT License


Languages

Language:CSS 59.5%Language:JavaScript 40.5%