Etheryte / vue-auto-dropzone

A Dropzone component for Vue. Typescript support, native slots, and more.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for SSR

JohannesLichtenberger opened this issue · comments

Seems SSR as of now is not supported, as I'm getting an error: window is not defined. I'm using Nuxt, and tried your other component before. But this one replaces it, right?

You are correct in both regards, this component is built to be a successor and SSR is currently not supported yet. SSR is the only item remaining in the must have category in the project TODO, but for the time being, my work duties have higher priority than OSS.

Yeah, no problem. For now, I'm using a custom solution, as I couldn't get it to load only on the client (Browser) side. But I'm super new to front-end development, so it might be simply me. But even a Middleware to enable spa mode instead of universal mode didn't work out somehow, presumbly because I use TypeScript mostly. However, the custom solution now works. Just for uploading and shredding files into my temporal document store using HTTP(S) :-)

commented

This discussion has been marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this issue is still relevant, please comment explaining why. Thanks!