Home

Issue: 3168

window is not defined in middleware

[issue link]

In middleware ,I can’t user window or alert (window is not defined ) , what shoud i do to use them?

This question is available on Nuxt.js community (#c6816)