본문 바로가기

ITdata/React

(CentOS7/Linux) create-react-app

# echo 'export PATH="$(yarn global bin):$PATH"' >> ~/.bashrc

(or) - # npm install -g create-react-app

(or) - # yarn global add create-react-app

# create-react-app <패키지명>

# cd <패키지명>

(or) - # PORT=80 npm start

(or) - # PORT=80 yarn start

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

React - style, css  (0) 2019.07.06
React - 조건(IIFE, Arrow, 삼항연산, AND)  (0) 2019.07.06
React - Fragment, const, let  (0) 2019.07.06
React - index.js  (0) 2019.07.06
React - App.js  (0) 2019.07.06