Create a Next.js Frontend for Headless WordPress
After that it was just a matter of changing the environmental variable in my Next project to point to
http://mywordpressadress/graphql, adding a couple sample posts with a featured image and excerpt, deleting the generic first post that didn’t have a featured image, and then running
yarn dev to verify that everything worked.
I had some trouble deploying to Netlify at first because the Next.js template I used has Server-side Rendering, but after I discovered next-on-netlify. I was able to deploy it no problem. (It worked the first time when I deployed to Vercel).