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

Requesting for Help #35

Open
BekBoris opened this issue Oct 30, 2023 · 0 comments
Open

Requesting for Help #35

BekBoris opened this issue Oct 30, 2023 · 0 comments

Comments

@BekBoris
Copy link

BekBoris commented Oct 30, 2023

Hello Sir! I am a freshman and I need your help
I am trying to add the javascript library to my Nuxt3 project
I am trying to create a basic step viewer with the help of three.js
the first problem is that the lib is not es6, and also I think I have a problem with the
Screenshot 2023-10-30 at 14 54 27
wasm file

async importOcct() {
let occt
const test = await import("occt-import-js").then(lib => {
occt = lib.default || lib
})
return occt
}

this is how I am trying import
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

1 participant