使用vue引用three.js—申明 三分有点码
。
仅是引用three.js—申明,更多请访问 https://blog.csdn.net/Hu_xiao_ge
<script>
import * as THREE from "three";
import { OrbitControls } from "three/examples/jsm/controls/OrbitControls";
let FBXLoader = require("three-fbxloader-offical");
</script>