Static GitHub Issues

[1083] Ie compatible local can, generate package after the line can not

prev: Vue packages version mismatch
next: SSL Redirection via Heroku

middleware/auth:

let loggedIE = false // 是否是低版本的浏览器 if (process.BROWSER_BUILD) { loggedIE = browserType(window.navigator.userAgent) console.log(window.navigator.userAgent) } else { if (!req) return loggedIE = browserType(req.headers'user-agent') console.log(req.headers'user-agent') } if (loggedIE) { return redirect('/below-ie8') }

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