vue-axios
Vuejs can be combined with the axios HTTP library to retrieve data from an external REST API.
How to install vue-axios:
# install dependencies
npm install --save axios vue-axios
# And in your entry file
import Vue from 'vue'
import axios from 'axios'
import VueAxios from 'vue-axios'
# Use
Vue.use(VueAxios, axios)
Build Setup
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
For detailed explanation on how things work, consult the docs for vue-loader.