问题一:three的editor怎么打开,用了npm命令打开也不行,原因和解决方法:from origin ‘null‘ has been blocked by CORS policy: Cross origin requests are only supported for ..._Dawnchen1的博客-CSDN博客
问题二:THREE.AxisHelper is not a constructor报错
three.js现版本144
因为three.js换了API,new THREE.AxisHelper()改成了new THREE.AxesHelper()
问题三:vue+three结合
方案2:three依然写在js里,在vue里调用
问题四:导入其他js,会报错 Uncaught ReferenceError: THREE is not defined
问题原因及解决方法:Three.js结合Vue进行模块化开发下,引入轨道控制器出现的问题。 - 掘金 (juejin.cn)