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

How to import within React? #29

Open
dpw1 opened this issue Nov 17, 2020 · 2 comments
Open

How to import within React? #29

dpw1 opened this issue Nov 17, 2020 · 2 comments

Comments

@dpw1
Copy link

dpw1 commented Nov 17, 2020

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!

@jasonbakker084
Copy link

jasonbakker084 commented Jan 14, 2021

Hello dpw1,

I found this in SO:
https://stackoverflow.com/questions/64867651/using-jsziputils-with-npm-react-file-cant-be-imported

@dpw1
Copy link
Author

dpw1 commented Jan 14, 2021 via email

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

2 participants