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?
"EXCELLENT video series so far!"
—D Durham
"Awesome!!"
—Mohamad Nasir
"I like the way you explain and teach, also your enunciation is incredible for us 'non native' english persons, everything is so enjoyable... Thank you for putting so much effort and time into making this video knowledge."
—@awa_it_
"This was EXACTLY what I needed. Informative and succinct. Thank you for taking the time to do this."
—Zara Kayn
Take your career to the next level