setup three.js in react and add mesh example
Showing
| ... | ... | @@ -16,6 +16,7 @@ |
| "react-router-dom": "^6.4.0", | ||
| "react-scripts": "^2.1.3", | ||
| "socket.io-client": "^4.5.1", | ||
| "three": "^0.145.0", | ||
| "typescript": "^4.7.4", | ||
| "web-vitals": "^2.1.4" | ||
| }, | ||
| ... | ... | @@ -44,6 +45,7 @@ |
| ] | ||
| }, | ||
| "devDependencies": { | ||
| "@types/google-protobuf": "^3.15.6" | ||
| "@types/google-protobuf": "^3.15.6", | ||
| "@types/three": "^0.144.0" | ||
| } | ||
| } |
src/ThreeJs.tsx
0 → 100644
Please register or sign in to comment