RN 记录二

版权所有,禁止匿名转载;禁止商业使用。
需要配置环境的软件

1.Homebrew

Homebrew, Mac系统的包管理器,用于安装NodeJS和一些其他必需的工具软件。

2.Node

使用刚刚安装的Homebrew来安装Node.js
3.Watchman

brew install watchman 

4.Flow
brew install flow
5.关键来了
React Native安装
npm install -g react-native-cli
sudo npm install -g react-native-cli

两步必须执行

完成后 react-native init 项目名称 创建项目
0 0