I’ve seen some plugins that use custom Vue instance to invoke their own vue components. Something like
this.$activateLoadingBar.options({color:"Green", msg:"loading"})
Then a green loading bar pops up with “loading” as its message
I wanted to try and create myself. So I made a new component and declared a custom Vue instance by using
Vue.prototype.$<name> = ...enter code here...
Then I am completely lost. What should I do so to get the result i needed ? I don’t know what is this method called, so i am unable search the internet.