WP Vue is a Vue blog template
This blog can handle a WordPress REST endpoint and display its contents. The blog in its core has Vue components but it can be modified to suit your own needs.
Make it yours
- Make sure you have
yarninstalled on your machine, and run
Set Your Constants
Set your specific constants in the
REST_ENDPOINT- The WordPress REST API endpoint from which data will be pulled. Leave off the trailing slash. Example:
POSTS_PER_PAGE- The default number of posts per page that will be displayed.
GA_TRACKING_ID- A Google Analytics tracking ID.
yarn run dev to spin up a running version from localhost.
Deploy to Netlify
The app is deployed to Netlify, so it is a great place to host your own version of this project. The running app gives the user the option to change to another REST API endpoint.