React-native를 expo.io로 실제 기계 디버깅 (CLI 버전)

1707 단어 react-nativeexpo
Expo — Learn how

Node.js를 넣습니다.

Get the command line tool


npm install exp --global

Create your first project



create app


exp init my-new-project

app start
cd my-new-project
exp start
? How would you like to authenticate? (Use arrow keys)
❯ Make a new Expo account
  Log in with an existing Expo account
  Cancel

input maill address
An Expo user account is required to proceed.

? How would you like to authenticate? Log in with an existing Expo account
? You are already logged in as xxxxxx. Log in as new user? Yes
? Username/Email Address: ```
? Password: [hidden]
Success. You are now logged in as xxxxxx.
12:13:30 [exp] Using project at /Users/xxxxxx/Documents/my-new-project
12:13:32 [exp] Warning: You are using npm version 5.6.0. There may be bugs in this version, use it at your own risk. We recommend version latest.
12:13:40 [exp] Starting React Native packager...
12:13:42 [exp] Loading dependency graph.
12:13:43 [exp] Dependency graph loaded.
12:13:44 [exp] Tunnel connected.
12:13:45 [exp] Expo is ready.

12:13:46 [exp] Warning: You are using npm version 5.6.0. There may be bugs in this version, use it at your own risk. We recommend version latest.


여기에 QR 코드가 표시되므로 카메라로 촬영하여 액세스한다.

시작됨

좋은 웹페이지 즐겨찾기