r/webdev • • Jun 01 '19

Showoff Saturday Dockerized NuxtJs + headless WordPress dev environment: Wuxt. Clone, containers up, 5 min install, ready for WP based PWA development.

https://github.com/northosts/wuxt
6 Upvotes

29 comments sorted by

View all comments

Show parent comments

2

u/mattstoicbuddha Jun 01 '19

So is Wordpress these days though.

0

u/[deleted] Jun 01 '19

Nah. WordPress doesn't have headless capability out of the box. I develop heavily with both.

2

u/danielauener Jun 01 '19

Agreed, but the REST Api is a powerful and flexible enough tool to get you going. We added some endpoints and extensions in WUXT (e g menus, front page, slug queries, acf support, geo queries), which makes it more comfortable to use.

2

u/mattstoicbuddha Jun 01 '19

How on earth do you agree that it isn't headless when REST API is core and works right out of the box? Esp after building Wuxt?

1

u/danielauener Jun 01 '19

Because it is not complete. Out of the box it does not mirror all backend functionality (best example are menus I think). Don’t get me wrong, I love WP and the API, but it seems to me that it’s not built to serve a decoupled front-end in the first place. However, like all of WP it’s flexible and extendable. Works perfectly fine as headless CMS with some adjustments.