web_rn_cli
介绍
web、react native 脚手架工具以及模板
软件架构
软件架构说明
安装教程
sudo npm install web_rn_cli -g --unsafe-perm=true --allow-root (为保万无一失环境) 1、sudo npm install -g web_rn_cli 或者 npm install -g web_rn_cli;
使用说明
Usage: react-cli [options]
Options: -V --version output the version number -h, --help output usage information
Commands: init 初始化脚手架项目 rename 命令修改项目配置 ios 兼容低版本 xcode 编译 命令:
- react-cli init "xxx"
- react-cli rename "xxx"
- react-cli ios
扩展
为了适应最新 xcode 和 9.3xcode 启动 修改 react native findMatchingSimulator.js 文件代码注入 react-cli run ios
参与贡献
1.1.10 修复最新 xcode 跑不起 rn0.57.8 的问题,原因:脚本启动 模拟器找不到会终止流程; 可以使用 xcode 去启动编译解决或者就是执行 react-cli ios 修改 react-native local-cli 相应文件;