Preview changes to your WordPress Gatsby site.
- Install this WordPress plugin
- Install WPGraphQL in WordPress
- Install WPGraphQL JWT Authentication in WordPress
- Add
define( 'GATSBY_PREVIEW_FRONTEND_URL', 'https://yoursiteurl.com' );
to your wp-config.php - Install gatsby-source-wordpress-experimental in Gatsby
- Install gatsby-plugin-wordpress-preview in Gatsby