Intro to Vuex and the Server
4:01
Connecting to a REST Server
8:20
Loading Server data into Vuex
10:18
Switching to JSON API
5:09
Data Relationships with JSON API and Vuex
19:11
Tags Page
7:15
Our First Reusable Component
6:19
0% done with Vuex: Loading data using axios and deserializing JSON API relationships

Chapter 2 of 27 in Building VueScreencasts.com
Connecting to a REST Server

This tutorial shows how to connect to a REST server. We use the mounted hook and asynchronous API calls in order to take that data and use it in our Vue Component.

VueJS Commit for connecting to REST Server

Code for Rails API

Video MirageJS Mock API

What do others think of VueScreencasts?
"Awesome video! Easy to follow along with a lot of explanation into whats happening! Thanks a ton!"
—Ritika Singh
"Quality tutorial, thanks a lot!"
—Jay Pick
"Excellent video! Great work. Subscribed."
—Alexandros Markovic
"Have looked at so many Vue.js tutorials, your videos are the best ones!"
—Nathan Yang
Take your career to the next level