Message from JavaScript discussions

January 2019

— Its just a function

— 

Then that means i'll write this more than 50x (sum of my vuex modules)

axios.create({
baseURL: process.env.VUE_APP_BASE_API_URL
})
HTTP.interceptors.request.use(requestHandler)
HTTP.interceptors.response.use(errorResponseHandler)

— No just once

— On init of the application

— Then back again, how i import that object to my vuex module?

— I think for now i'll back with my old method by providing class with many api actions like this https://stackoverflow.com/a/50846661/3925477

Message permanent page

— I got the answer, apparently i made a huge mistake. since i dont need axios in my components, i dont need anything inside my main.js
thank you

Message permanent page

— Glad it worked out, i thought it all looked weird ;)

— Dont donwload Xd

— elxris

— ATTENTION!!!!!
this is a rootkit

— Who is admin around here ?