Merge pull request #6 from DarkNeos/three.js
setup three.js in react and add mesh example
Showing
... | @@ -16,6 +16,7 @@ | ... | @@ -16,6 +16,7 @@ |
"react-router-dom": "^6.4.0", | "react-router-dom": "^6.4.0", | ||
"react-scripts": "^2.1.3", | "react-scripts": "^2.1.3", | ||
"socket.io-client": "^4.5.1", | "socket.io-client": "^4.5.1", | ||
"three": "^0.145.0", | |||
"typescript": "^4.7.4", | "typescript": "^4.7.4", | ||
"web-vitals": "^2.1.4" | "web-vitals": "^2.1.4" | ||
}, | }, | ||
... | @@ -44,6 +45,7 @@ | ... | @@ -44,6 +45,7 @@ |
] | ] | ||
}, | }, | ||
"devDependencies": { | "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