Static GitHub Issues

[3138] the problem of middleware function

prev: Extending a vuetify component
next: [Question] How to use Element-UI as CDN?

when I set middleware function in the nuxt.config.js image

the first time It's called on server side console image

and then it's called on browser console when I change the route of page image

why???? so that I can't get the right way of cookie... I don't know I should get it by either req.header or client cookie because the first time I can get it from req.header but not on client, and then I can get by client one not the req.header.....

...and why the vuex getter will be called by itself

image image image forgive my poor English..:( so I choose display pics....

<!--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/c2718">#c2718</a>)</em></sub></div>