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?
"Damn it's good content. I am happy that I found VueScreencasts."
—Shamim Hossain
"Thank you, it is very interesting."
—Chris LR
"Thanks for the tutorial. Subscribed!!!! :)"
—Zenish Shrestha
"just started following along on your journey, great start... keep up the good work"
—Alison Smith
Take your career to the next level