Hi,
So in the script tag on my html page every import works apart from CSS3DRenderer.js
how can I solve this ?
import * as THREE from './js/three.module.js';
import TWEEN from './js/tween.esm.js';
import {
CSS3DRenderer,
CSS3DObject
} from 'https://threejs.org/examples/jsm/renderers/CSS3DRenderer.js';
Error:
Uncaught TypeError: THREE.CSS3DObject is not a constructor
Thank you for any help.