博览会& 创建React Native应用"
创建React Native应用程序可让您构建React Native应用程序而无需任何操作
构建配置.您可能会觉得这很熟悉,因为Expo确实
这也是如此-当您使用XDE或exp创建项目时,您不会
必须处理Xcode或Android Studio配置文件
作品.本指南旨在概述一些关键差异
在Expo和CRNA(create-react-native-app)之间.
Expo & "Create React Native App"
Create React Native App lets you build a React Native app without any
build configuration. This may sound familiar to you because Expo does
this as well -- when you create a project with XDE or exp you don't
have to deal with Xcode or Android Studio configuration files, it just
works. This guide is intended to outline some of the key differences
between Expo and CRNA (create-react-native-app).
CRNA不需要您拥有Expo帐户
您可以运行create-react-native-app YourAppName,然后关闭.那什么不
有一个帐户的意思,以及要注册和使用XDE/exp的内容
让您-为什么我们在Expo上需要它?拥有世博帐户
允许您执行以下操作:
You can run create-react-native-app YourAppName and off you go. So what does not
having an account mean, and what would signing up and using XDE/exp
get you -- why do we require it with Expo? Having an Expo account
allows you to do the following:
- 将项目发布到永久URL,例如:
https://expo.io/@community/reactconf2017
.有关更多信息,请参见在Expo上发布.
- 为应用程序/游戏商店分发构建二进制文件.要在不使用Expo的情况下使用CRNA进行此操作,
您将需要运行弹出.
- Publish your project to a permanent URL, eg:
https://expo.io/@community/reactconf2017
.See Publishing on Expo for more information.
- Build binaries for app / play store distribution. To do this with CRNA without using Expo,
you would need to run eject.
这篇关于create-react-native-app和exp init之间的差异的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!