DEV Community

"Rocky" Hiroki Ueno
"Rocky" Hiroki Ueno

Posted on • Updated on

"React " Starting a new project

I started to learn React and made a test project.
Here is a memo of how to start a React new project.

*OS: MacOS, Editor: VSCode
*Node.js, npm have been installed.

  1. Create empty folder in Finder.

  2. Open VSCode and Open the folder.

  3. Change directory and open the folder in terminal.

  4. Create a new project.

create-react-app test
Enter fullscreen mode Exit fullscreen mode

"test" would be an app name.

  1. After finishing creating app, change directory and start an app as is an instruction in terminal.
cd appName
npm start
Enter fullscreen mode Exit fullscreen mode

It'd be a success if the start page shows up.

Top comments (0)