您的位置:首页 > Web前端 > React

react 常用命令

2016-06-15 11:44 387 查看
安装包  npm install
终端启动 ios 的命令:   react-native run-ios
终端启动 android 的命令:   react-native run-android
chrome里面进入调试  option + command + j
项目内安装 npm i somename --save
全局安装 npm i somename --g   
查看 react-native 版本  npm info react-native
更新最新版本  npm install --save react-native@VersionCode
更新文档 https://facebook.github.io/react-native/docs/upgrading.html
查看npm 环境  npm config list
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: