1.react-native修改默认8081端口react-native start -port9999
2.react-native运行 react-native strat
3.react-native运行Android react-native run-android
4.react-native项目创建
@H_301_34@1.用Git下载React-native安装包
@H_301_34@ 2.到下载的目录D:\git\react-native\react-native-cli下运行npm install -g react-native-cli
3.在Git命令行下运行react-native init ProejctName
原文链接:https://www.f2er.com/react/304191.html