늘 겸손하게

npx create-react-app 본문

Programming/React

npx create-react-app

besforyou999 2022. 5. 10. 16:16

리액트 앱을 만들기 위한 명령어이다

 

npx create-react-app "디렉토리명"

 

위 명령어로 App을 실행시키기 위한 디렉토리를 만들 수 있고

 

새로 생성한 디렉토리로 들어가 ( cd 명령어로 )

 

npx start 명령어를 입력하면 리액트 앱 시동을 위한 서버가 생성되고 브라우저에서 리액트 앱이 실행된다.

 

실행중인 react 애플리케이션

 

 

'Programming > React' 카테고리의 다른 글

React JSX '&' 작성  (0) 2022.06.30
React NavLink  (0) 2022.06.30
React Router, BrowserRouter와 HashRouter 차이  (0) 2022.06.30
create-react-app Render가 두 번될때 ( console.log 두번 출력될때 )  (0) 2022.05.10
Why React?  (0) 2022.05.10