You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use axios from @nuxtjs/axios and I want to pass already created and configured axios instance in apisauce.
At this moment axios instance created from config parameters and then used by local instance variable, so this instance can't be changed.
src: https://github.com/infinitered/apisauce/blob/master/lib/apisauce.ts#L135
Can we add optional config parameter axiosInstance and then check if it set, use it, otherwise create new axios instance.
I use axios from
@nuxtjs/axios
and I want to pass already created and configured axios instance inapisauce
.At this moment axios instance created from config parameters and then used by local
instance
variable, so this instance can't be changed.src: https://github.com/infinitered/apisauce/blob/master/lib/apisauce.ts#L135
Can we add optional config parameter
axiosInstance
and then check if it set, use it, otherwise create new axios instance.The text was updated successfully, but these errors were encountered: