본문 바로가기
JavaScript/React Native

[React Native] 시작하기 (Windows 10)

by @김상현 2020. 11. 19.
반응형

reactnative.dev/docs/environment-setup

 

Setting up the development environment · React Native

This page will help you install and build your first React Native app.

reactnative.dev

Expo로 부터 탈출하기 위해서 Bare React Native를 사용하기로 하였다. 위 링크를 통해 프로젝트를 시작해보려고 한다.

 

Chocolatey

 

Chocolatey - The package manager for Windows

Chocolatey is software management automation for Windows that wraps installers, executables, zips, and scripts into compiled packages. Chocolatey integrates w/SCCM, Puppet, Chef, etc. Chocolatey is trusted by businesses to manage software deployments.

chocolatey.org

위와 같은 패키지 매니저를 사용하라고 추천하지만 이미 Expo를 사용하면서 데인 전적이 많아서 사용하지 않으려고한다... 기회가 된다면 사용해보겠다.

 

1. Install Android Studio

2. Install the Android SDK

3. Configure the ANDROID_HOME environment variable

4. Add platform-tools to Path

 

위 4가지의 과정을 거치면 React Native로 새로운 Application을 생성할 준비가 되었다.

 

Create a New Application

 

$ npx react-native init <Project_Name>

 

실행시킨 후 기다리면 새로운 프로젝트 생성 완료

반응형

댓글