I'm using NuxtJS with ThreeJS.
After I import TWEEN
import { TWEEN } from 'three/examples/jsm/libs/tween.module.min.js'
I get this error:
Cannot assign to read only property 'exports' of object '#<Object>'
Is there any workaround for this?
I'm using NuxtJS with ThreeJS.
After I import TWEEN
import { TWEEN } from 'three/examples/jsm/libs/tween.module.min.js'
I get this error:
Cannot assign to read only property 'exports' of object '#<Object>'
Is there any workaround for this?
Copyright © 2021 Jogjafile Inc.
At the end of the day, I used standalone tweenjs package and it worked :)
https://github.com/tweenjs/tween.js
Installed the package
Imported TWEEN