命令行创建react native项目
1.在空文件夹下输入CMD进入dos窗口
2.一次输入命令
npm install -g yarn react-native-cli react-native init 项目名称 cd 项目名称 react-native run-android
1.在空文件夹下输入CMD进入dos窗口
2.一次输入命令
npm install -g yarn react-native-cli react-native init 项目名称 cd 项目名称 react-native run-android