공식문서에선 $ npx create-react-app
$ npx create-react-app
npm으로 모듈 설치 $ npm install -g create-react-app 그 다음으로 react-app 생성 $ create-react-app [디렉토리명]
$ npm install -g create-react-app
$ create-react-app [디렉토리명]
npm: 모듈을 설치하는 프로그램
npx:
$ npm run build
$ npm install -g serve
$ npx serve -s build