Start your Wordpress Headless CMS project with Gatsby.
-
Clone repository
Use the Gatsby CLI to create a new site, specifying the default starter.
git clone https://github.com/maciekkociela/wordpress-gatsby-starter.git
-
Start developing.
Navigate into your new site’s directory and start it up.
cd wordpress-gatsby-starter/ npm install gatsby develop
-
Setup gatsby-config.js and gatsby-node.js
Open gatsby-config.js and gatsby-node.js and fill them with your Wordpress site data.