Love this vue-image-compare! Was trying to use on a nuxt project I had but was unfortunately getting a Window is not Defined reference error. Here is the screen shot:
This project was not written with SSR in mind, so that's probably why you are getting this error. Also it's no longer actively mantained, so I suggest forking it and pushing necessary updates for your usecase.
Hi,
Love this vue-image-compare! Was trying to use on a nuxt project I had but was unfortunately getting a Window is not Defined reference error. Here is the screen shot:
So you can see what I was doing in the code:
Then here for the script
Any idea what's causing this? Had any success with using this in a nuxt project?