HiveBrain v1.2.0
Get Started
← Back to all entries
snippetreactCritical

How to create a React app directly in the current folder

Submitted by: @import:stackoverflow-api··
0
Viewed 0 times
createfoldertheappcurrentreacthowdirectly

Problem

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 .

Code Snippets

create-react-app .

Context

Stack Overflow Q#55082584, score: 448

Revisions (0)

No revisions yet.