Reactt-Native 学习过程

来源:互联网 发布:电力电子研究生知乎 编辑:程序博客网 时间:2024/06/11 14:00

http://wiki.jikexueyuan.com/project/react-native/integration-existing.html

安装相应环境(参照链接:http://zhuanlan.zhihu.com/FrontendMagazine/19996445):

brew install node
brew install watchman
npm install -g react-native-cli

首先照着这个链接集成到现有的App中,出现问题:

platform失败是因为写地址的时候忘加后面的参数:

http://localhost:8081/index.ios.bundle?platform=ios&dev=true

到此就可以开发使用了!



0 0