Change that line to
const controls = new THREE.OrbitControls( camera, renderer.domElement );
I am presuming your CMS is able to handle the const
Change that line to
const controls = new THREE.OrbitControls( camera, renderer.domElement );
I am presuming your CMS is able to handle the const