First, run the development server:
npm install
next:
replace headlesswpnext.local
with desired WordPress URL
lastly:
npm run dev
Open http://localhost:3000 with your browser to see the result.
Requires the wpgraphql
plugin to be installed and activated