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?
"Really appreciate it! You're a good tutor."
—Ous
"Great channel."
—The Nerdy Dev
"Great as always, thanks Jeffrey."
—אלכסיי לוינזון
"Really appreciate it! You're a good tutor."
—Ous
Take your career to the next level