In my Vue.js application I want to have some global functions. For example a callApi() function which I can call every time I need access to my data.
callApi()
What i
Mixins can be registered globally too. https://vuejs.org/v2/guide/mixins.html#Global-Mixin