Search code examples
reactjscommand-linecreate-react-app

How to create a React app directly in the current folder


I know I've done it before but I can't seem to find the answer anywhere. I want to run create-react-app without creating a whole other folder within the folder I'm already in. I believe it is just an additional flag appended to the command.


Solution

  • You can create a new React app in the current directory by writing . instead of a project name.

    create-react-app .