awronski
awronski
Hello @pi0 I am confused. Do I need to call $axios.setToken both on SSR and CSR? I ask becouse now I have o code like this, plugin: ```javascript export default...
@pi one more question. It the **global variables shared between concurrent requests** fixed in the rc.3? I have strange behavior. Plugin code: ```javascript export default function ({ store, route, app:...
@uptownhr The problem is the axios module use defaults internally. Just check: https://github.com/nuxt-community/modules/blob/master/modules/axios/plugin.js#L33 In the present implementation the module cannot be use on server. Therefore I cannot hydrate the store...
@uptownhr Hi James! thanks for sharing your code. Your example is working but I think it is not correct. You set token in the nuxtServerInit, so the token is set...
I did a quick fix inside the nuxtjs/axios/plugin.js: ```javascript function tokenHandler(config, store) { if (store.getters.authToken) { config.headers.common['Authorization'] = store.getters.authToken } return config } //Token handling axios.interceptors.request.use(config => tokenHandler(config, store), errorHandler.bind(ctx))...
@pi0 do you have any suggestion how to implement it? Maybe I could do it and share.
@pi0 I have this change almost working :) The problem is that the ```router.afterEach((to, from)``` don't see ```to.meta.analytics``` for the first request. For the following requests it is working ok....
@MarcinLuczak czy wsdl w nowym środowisku testowym będzie identyczny jak w produkcyjnym? W poprzednim środowisku się różnił. Generuję klasy javy na podstawie wsdla. Musiałem generować dwie różne wersje aplikacji w...