You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm new with JS and i'm trying to add this library to work with VueJs or React.
I followed the steps using Javascript vanilla and it's worked perfectly, but when i tried to do the same thing using VueJs/React, it didn't work. Can you help me with that?
Oh, and congratulations for the project :)
The text was updated successfully, but these errors were encountered:
This is my .vue file. When i import in this way, my log shows this error. I tried to import on main.js file or directly on html, but it shows the same error:
It maybe because some files are missing, try to load them manually (before stl_viewer.min.js )
parser.min.js
load_stl.min.js
webgl_detector.js
CanvasRenderer.js
OrbitControls.js
TrackballControls.js
Projector.js
three.min.js
add this parameter to the init line: load_three_files:false
should look like this:
var stl_viewer=new StlViewer(document.getElementById("stl_cont"), { load_three_files:false });
Hi!
I'm new with JS and i'm trying to add this library to work with VueJs or React.
I followed the steps using Javascript vanilla and it's worked perfectly, but when i tried to do the same thing using VueJs/React, it didn't work. Can you help me with that?
Oh, and congratulations for the project :)
The text was updated successfully, but these errors were encountered: