threejs-react-earthComponent

This project was bootstrapped with Create React App.

You must have node.js and yarn installed

Setting up the project enviroment / adding dependencies

yarn add styled-components

yarn add @react-three/drei

yarn add @react-three/fiber

yarn add three@0.135.0

for OrbitControls to work, 0.136.0 version remove this feature

In the project directory, you can run:

yarn start