* vscode cli 에서 프로젝트 생성
1. react-native init --version 0.61.5 [프로젝트명]
2. cd 프로젝트명
2-1. npm install
3. npm start
4. (새터미널열기)
5. cd 프로젝트명
6. npm run android
+) 안드로이드 애뮬레이터 단축키
1. 새로고침 : rr
2. 디버깅모드: crtl + m
>> 디버깅모드창에 "Fast Refresh" 켜면 코드저장시 자동 Refresh 됨.
'ReactNative' 카테고리의 다른 글
reactNative 다운로드 필요한 컴포넌트 (0) | 2022.01.13 |
---|---|
error) react-native-picker 에러 (0) | 2022.01.12 |
reactNative - Component (0) | 2022.01.06 |
reactNative - ES6, React 문법 리마인드 (0) | 2022.01.05 |
reactNative 설치 리스트 (0) | 2022.01.05 |