Have file for custom instance of axios in ~/plugins/axios.js
How to get access to store or router inside this file?
For example for correct handling 401-error and redirecting user to login-page with router.push
of commiting mutation to store, which redirect user
P.S.: Nuxt 1.0.0-RC11
<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c1726">#c1726</a>)</em></sub></div>