November 2020
Beginner to intermediate
774 pages
11h 58m
English
Overview
In this chapter, you will learn how to work with remote APIs using the Axios library. You will make network calls and store results using Vuex. You will also see an example of how to store authentication tokens with Vuex and use it for further API calls.
By the end of this chapter, you will have a good idea of how Vuex can help abstract and create a wrapper for remote APIs, and ease their integration into a Vue application. This abstraction makes it easier to migrate to other APIs in the future, ensuring that the rest of your applications continue to work properly.
In Chapter 9, Working with Vuex – State, Getters, Actions, and Mutations, you were introduced to Vuex and ...