EvanAgee / vuejs-wordpress-theme-starter

A WordPress theme with the guts ripped out and replaced with Vue.
https://vuewp.com/
1.6k stars 282 forks source link

Is this a starte kit where no posts and no pages will be rendered? #88

Closed nise closed 4 years ago

nise commented 4 years ago

In Wordpress 5.3.x only the header and the footer will be visible.

The API endpoint 127.0.0.1/eckingen/wp-json/wp/v2/ depends on the permalink settings. If one is not using pretty links the src/settings.js should point to '/?rest_route=/' instead.

However, some documentation is missing in order to run the plugin in Wordpress. At least people like me who know Vue better then WP would need some more support here.

Thank you.

harrisonfm commented 4 years ago

To get pages and posts on a fresh WP install you need to set your WP Permalinks to be Y/M/D/slug. This is the second option in the Permalinks section of the WP-admin. You can edit the router as well.

This would be a good thing to mention in the Readme.

EvanAgee commented 4 years ago

I'll update the readme now, thanks!

nise commented 4 years ago

Great, thank you!