Skip to Content
Front-End Development Projects with Vue.js
book

Front-End Development Projects with Vue.js

by Raymond Camden, Hugo Di Francesco, Clifford Gurney, Philip Kirkbride, Maya Shavin, Dániel Szabó
November 2020
Beginner to intermediate
774 pages
11h 58m
English
Packt Publishing
Content preview from Front-End Development Projects with Vue.js

10. Working with Vuex – Fetching Remote Data

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.

Introduction

In Chapter 9, Working with Vuex – State, Getters, Actions, and Mutations, you were introduced to Vuex and ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Building Progressive Web Applications with Vue.js: Reliable, Fast, and Engaging Apps with Vue.js

Building Progressive Web Applications with Vue.js: Reliable, Fast, and Engaging Apps with Vue.js

Carlos Rojas

Publisher Resources

ISBN: 9781838984823Supplemental Content