jszip-utils
jszip-utils copied to clipboard
How to import within React?
Hey,
Firstly thank you for the great work and for sharing it!
I have installed JsZipUtils via NPM and tried to import it like this:
import JSZipUtils from 'jszip-utils';
But the file can not be found. Also it's not mentioned in the documentation how I can import it within React.
Any tips?
Thanks!
Hello dpw1,
I found this in SO: https://stackoverflow.com/questions/64867651/using-jsziputils-with-npm-react-file-cant-be-imported
Hello,
Thank you for the reply!
I was actually the one who created that question and the one who answered it as well hahah but thank you for reaching out!
Kind regards, Diego
On Thu, Jan 14, 2021, 09:42 Jason Bakker [email protected] wrote:
Hello dpw1,
I found this in SO:
https://stackoverflow.com/questions/64867651/using-jsziputils-with-npm-react-file-cant-be-imported
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Stuk/jszip-utils/issues/29#issuecomment-760172379, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC6UQSOVZZTBQVK236VMMHTSZ3RE5ANCNFSM4TX4FHHA .