Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document is not defined #1

Open
gkarmas opened this issue Sep 13, 2018 · 2 comments
Open

Document is not defined #1

gkarmas opened this issue Sep 13, 2018 · 2 comments

Comments

@gkarmas
Copy link

gkarmas commented Sep 13, 2018

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

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

@kevindesousa
Copy link
Owner

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 ?

@dasraab
Copy link

dasraab commented Nov 30, 2018

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants