react-native init setup

Harry Jung·2023년 3월 20일
0
npx create-react-native-app langApp --use-npm

default 설정 후 인스톨

npm i styled-components

타입스크립트로 하실 분들은
npx create-react-native-app -t with-typescript
이후에 안내에 따라 폴더명(어플이름) 설정 해주시면 됩니다!

styled-components설치 ---------------------------------------

npm install --save styled-components
npm install --save-dev @types/styled-components @types/styled-components-react-native

tsconfig에
"types": ["jest", "styled-components-react-native"],
넣기

profile
Dreamsoft

0개의 댓글