I have a plugin
import Velocity from 'velocity-animate'
export {
Velocity
}
Using it with ssr: false
Then import it in component as import Velocity from '~/plugins/velocity'
I got an error in console
[vue-router] Failed to resolve async component default: ReferenceError: window is not defined
[vue-router] uncaught error during route navigation:
ReferenceError: window is not defined
And in browser
Cannot read property 'options' of undefined
<!--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/c1800">#c1800</a>)</em></sub></div>