美文网首页
webstorm配置运行ios和android

webstorm配置运行ios和android

作者: 阿_贵 | 来源:发表于2018-03-13 18:56 被阅读0次

Edit configurations  -->  添加npm配置   ->  commend改为help

Run External tool

通过命令终端找到React-native命令所在,终端输入which react-native,所得路径复制到Tool settings下的program,一般是  /usr/local/bin/react-native

Parameters填写run-ios,安卓填写run-android

working directory 填写  $ProjectFileDir$

相关文章

网友评论

      本文标题:webstorm配置运行ios和android

      本文链接:https://www.haomeiwen.com/subject/qsttqftx.html