一、创建RN项目
1、在需要创建项目的目录
react-native init HelloRn
2、使用WebStorm打开项目
二、配置WebStorm运行RN项目
webStorm配置
1、菜单 - run - Edit Configurations

2、新建配置,npm

3、添加运行工具,左下角点击添加

4、填入rn的配置

5、rn的路径可以使用命令
which react-native
一、创建RN项目
1、在需要创建项目的目录
react-native init HelloRn
2、使用WebStorm打开项目
二、配置WebStorm运行RN项目
webStorm配置
1、菜单 - run - Edit Configurations
本文标题:2018-01-05 RN资料汇总
本文链接:https://www.haomeiwen.com/subject/hxesnxtx.html
网友评论