Requirement :
- nodejs
- npm
- yarn
* install nvm(see link)
* install yarn (centos)
]$ sudo wget https://dl.yarnpkg.com/rpm/yarn.repo -O /etc/yum.repos.d/yarn.repo
]$ sudo yum install yarn
* install Create React APP
]$ npm install -g create-react-app
* create project (Transforming tool. using WebPack more details)
]$ create-react-app [app-name]
]$ cd [app-name]
# developer mode using start option. easy to debugging
]$ yarn start
Additional :
# it's need to check props type
]$ npm install --save prop-types
]$ yarn add prop-types
'Develop > React' 카테고리의 다른 글
Using environment variables in the .env file in reactjs (0) | 2019.01.31 |
---|---|
[ReactNative] Expo ios simulator said "This version of ..." (0) | 2018.10.23 |
[ReactNative] expo 502 response (0) | 2018.02.14 |
[ReactNative] components and apis (0) | 2018.02.14 |
[ReactNative] expo를 이용한 설정 (0) | 2018.02.14 |