vue-auto-dropzone icon indicating copy to clipboard operation
vue-auto-dropzone copied to clipboard

Support for SSR

Open JohannesLichtenberger opened this issue 5 years ago • 3 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?

JohannesLichtenberger avatar Dec 09 '19 16:12 JohannesLichtenberger

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.

Etheryte avatar Dec 12 '19 02:12 Etheryte

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) :-)

JohannesLichtenberger avatar Dec 12 '19 08:12 JohannesLichtenberger

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!

stale[bot] avatar Jan 11 '20 09:01 stale[bot]