occt-import-js
occt-import-js copied to clipboard
Requesting for Help
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
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