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 lib properly? #32

Closed
antoniohof opened this issue May 20, 2021 · 2 comments
Closed

how to import lib properly? #32

antoniohof opened this issue May 20, 2021 · 2 comments

Comments

@antoniohof
Copy link

I can't find anything in the dist folder.
Just doing npm install doesn't work.
require and import doesn't work.

thanks

@harrycollin
Copy link
Contributor

harrycollin commented May 20, 2021

@antoniohof you should refer to the Building the library section of the readme. What are you trying to achieve?

@antoniohof
Copy link
Author

Hi,
I did
npm install web-ifc

and then later
const WebIFC = require("web-ifc/web-ifc-api.js");

says it can't find 'web-ifc',
I checked node modules and it's there.

I will double check everything
thanks

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