vue2.x引入threejs( 二 )

static下,引入方式应该是 'static/door.mtl'
如果在开发过程中出现threejs生成的canvas出现外边框,只需要用css样式修改,代码如下:
.three_box {width: 1053px;height: 473px;>>> canvas:focus-visible {outline: 0px}}threejs官方文档
【vue2.x引入threejs】

经验总结扩展阅读