[Vuejs]-How to import axios globally to a vue.js project

0👍

The power of Vue has much to do with the state management(getters, mutations and actions). Here’s a good overview

I recommend you to do your axios call inside the actions, as they’re executed asynchronously and you won’t see your app freezing while doing your calls.

Leave a comment