Hi everyone,
I’m currently building a headless ecommerce site for a client using WP and Nuxt. The wordpress site is already live, I’m supposed to build a better UI version of it in Nuxt with the same functionalities of WP.
Now, I’m a bit torn on the API arch to use. I see WordPress comes with REST Api out of the box, but it seems to me GraphQL is the better choice in the long run.
That being said, I’m confused about getting certain data too. For example, the links in header & footer. I don’t see in the docs how to fetch them dynamically from wordpress.
So, I wanted to know how other developers have approached this sort of application and what’s your preference in general in terms of tooling, setup, API etc. to build a headless WordPress / Nuxt ecommerce site?
[ad_2]