Skip to content

jordanboston/vue-wp-restapi

Repository files navigation

vue-wp-restapi

A Vue.js WordPress dealio

Just a little testing out Vue with the WordPress Rest API. If you wanted to try it out you could just change the baseUrl variable to your own WordPress site url in:

src/components/PostList.vue

wp-api-vue

The posts are not styled or parsed out, just gets a messy blob of the data.

Build Setup

# Update baseUrl
    var baseUrl = "yourWordPressUrl";

# install dependencies
    npm i

# serve with hot reload at localhost:8080
    npm run dev

About

Basic example of using Vue.js with GET request from the WP REST API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published