if you are using Visual Studio in Windows, First Install Node Js in your Device, and then in Vs code run the Create-React-App and add your app name and you are good to go then also install the react-router-dom in your app