Blog with Gatsby and WordPress
WordPress Gatsby template for EdgeOne Pages
Framework | Gatsby.js |
CMS | WordPress |
Use Case | Blog |
This example demonstrates how to deploy a WordPress site to EdgeOne Pages to enhance access speed.
Set up a WordPress service and log in to the console http://xxx.com/wp-admin
Install and enable the following plugins:
# Add .env file and write environment variables
GATSBY_WORDPRESS_URL=http://xxx.com/graphql
# Install dependencies
npm i
# Local debugging
npm run start