创建 React-Native 工程时,如何指定特定的 React-Native 版本的工具
hufeng
#2
简单的处理可以这样,
比如;
mkdir hello
cd hello
npm init
npm install react-native@0.20 --save //版本可以指定
react-native upgrade //使用android更新项目结构
react-native android //生成index.android.js
cp index.android.js index.ios.js