217. Create React App

변지영·2022년 6월 16일
0
post-thumbnail
$ npm install react

Instead of this code, install React App.
By doing it, we don't need to sending up our developer environment and setting up our first page.

https://create-react-app.dev/docs/getting-started/

$npx create-react-app my-app
$cd my-app
$npm start

^if you go to the website, you can see those code.

Let's name our project because we want to have a proper project names, robofriends.

$ npx create-react-app robofriends
$cd robofriends
$npm start

cf.
npm(node package manager)
Executable: package you can execute.
We can execute create-react-app.

And you have your very first React app.

0개의 댓글