React-Native入门指南
github: https://github.com/vczero/react-native-lession http://reactnative.cn/docs/0.42/getting-started.html http://www.tuicool.com/articles/V3U3UbU
React-Native:用JavaScript开发原生应用,释放Native的UI体验,体验 Hybird开发效率
MAC环境配置:
(1)在Mac上安装Xcode,建议Xcode 6.3以上版本( 后面会用到)
(2)安装node.js:https://nodejs.org/download/ ,命令安装brew install node
(3)建议安装watchman,终端命令:brew install watchman
(4)安装flow:brew install flow
react-native安装:
(1)安装命令行工具:sudo npm install -g react-native-cli
(2)创建一个空项目:react-native init HelloWorld
Window环境配置: