Message from JavaScript discussions

January 2019

— 🤔


You should still be avilable to import Vue from 'vue' since thats what you are doing in main.js righT ?

— Yes i can do that

— But then i got this

— Is it vue which is undefined or $HTTP

— The $HTTP

— Maybe that method isnt in the prototype, the $HTTP could be located directly on the Vue instance

— But i already define Vue.prototype.$HTTP = HTTP 🤔

— Try Vue.$HTTP = HTTP

— Im sorry its hard to debug for me without the full code

— This is my full code

— This work, but is this the best practice?