I've encountered problem where this module will try to overwrite my Axios configuration.
I am using @nuxtjs/composition-api alongside with typed-vuex, so in order to be able to use Axios in my store/index.ts, i need to create custom accessor (axios/accessor.ts):
I've encountered problem where this module will try to overwrite my Axios configuration.
I am using
@nuxtjs/composition-api
alongside withtyped-vuex
, so in order to be able to use Axios in mystore/index.ts
, i need to create customaccessor
(axios/accessor.ts
):And here is the
axios/index.ts
:$accessor
in this case is thetyped-vuex
accessor and thestore/index.ts
looks like this:So whenever i refresh page, i am getting all sorts of errors as my Axios instance is now overwritten by this module.