Hi Stephane. Yes - you'll still need to host your WP instance online. Netlify/Vercel will need to connect to the site when it performs the build (they won't be able to connect to your localhost).
The other option, if you don't want to have a WP instance online, is to do the build on your local machine and push the static build up to Netlify via Git (docs.netlify.com/site-deploys/crea...). Then there will be no build step on Netlify, so no need to connect to a WP site online.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi! Nice tutorial you have there.
One concern: Does the wordpress website need to be online before using this method?
I'd love to use my local development version as a headless cms
Hi Stephane. Yes - you'll still need to host your WP instance online. Netlify/Vercel will need to connect to the site when it performs the build (they won't be able to connect to your localhost).
The other option, if you don't want to have a WP instance online, is to do the build on your local machine and push the static build up to Netlify via Git (docs.netlify.com/site-deploys/crea...). Then there will be no build step on Netlify, so no need to connect to a WP site online.