Learn how to make API Calls with Vuex
API calls with Vuex
Vuex is is a state management pattern + library for Vue.js applications. It serves as a centralized store for all the components in an application, with rules ensuring that the state can only be mutated in a predictable fashion.
Get started with the Vuex docs and read setting up Vuex, to get a grip on Vuex.
Vuex management is a great tool for keeping data synchronized across the frontend of applications, but communication with a database is required at some point to make sure that any changes wouldn't be lost. Vue-resource is no longer part of the official Vue ecosystem, has been replaced by Axios, it is still an easy way to make API calls.
Go ahead and read about how Vuex is used to make calls, learn the setup of an API and API's actions.