vue-image-loader icon indicating copy to clipboard operation
vue-image-loader copied to clipboard

Document is not defined

Open gkarmas opened this issue 7 years ago • 2 comments

On vue with NuxtJS. I tried with or without SSR.

localhost 3002 2018-09-13 18-05-46

gkarmas avatar Sep 13 '18 22:09 gkarmas

Hello,

I don't know if the module is compatible with NuxJS because I don't use it. But, can you share a jsfiddle please ?

kevindesousa avatar Sep 14 '18 07:09 kevindesousa

same error here :/ tried loading it via

plugins: [
    {
        '@/plugins/progressive-image-loader',
        ssr: false
    },
],

in my nuxt.config.js but that didnt help. "document" is not available on the server side so i think that vue-image-loader is using "document" when it gets loaded and that throws the error...

dasraab avatar Nov 30 '18 12:11 dasraab