Posts

Showing posts with the label React

create-react-app inside a already created folder

Image
 Once we create a GitHub repository and cloned it into the local machine for development. We can use the same repository to hold the react app. If we are using  create-react-app  most of the time we use it with a project name which will be the folder name for the react project. In this case we use something like  create-react-app my-app  here the folder named my-app will be created and will hold the react project. Anyhow If we wanted to create a react project inside the cloned repository from GitHub or already named directory we could do it using  create-react-app .  command (notice the '.'). It will create put all the react code inside already created or cloned folder.