Static GitHub Issues

[995] Lib vue-picture-input not working with SSR

prev: Compiling and bundling scss - three different ways and three behaviours?
next: Can't a single page be nested?

Hi,

I have a problem when I load a page directly from the server (not encountered when dynamically loaded) :

Nuxt.js Error:
ReferenceError: File is not defined
    at Object.237 (PictureInput.vue:89:0)

from this component: https://github.com/alessiomaffeis/vue-picture-input/blob/master/PictureInput.vue

It seems that SSR is causing this, how to make an exception so it doesnt load it before the page is mounted?

Thanks!

<!--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/c870">#c870</a>)</em></sub></div>