[Vuejs]-Import errors for ThreeJS in vue-test-utils with Jest

0👍

You should not import OrbitControls from the examples folder. This is a custom function.

Try copy/paste the example code you need to a new TypeScript class into your project. Then you should be able to import it correctly. Beware they probably both import THREE so you might have context issues.

Leave a comment