学习 React Native -01 配置开发环境

Posted 王信平

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了学习 React Native -01 配置开发环境相关的知识,希望对你有一定的参考价值。

一 开发条件

1. Homebrew

Homebrew, in order to install the required NodeJS, in addition to some recommended installs.

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

 

2.Node

使用Homebrew去安装Node.

brew install node

 

3.React Native Command Line Tools

npm install -g react-native-cli

 

4.Watchman

Watchman is a tool by Facebook for watching changes in the filesystem. It is recommended you install it for better performance.

brew install watchman

 

5.Flow

 Flow, for static typechecking of your React Native code (when using Flow as part of your codebase).

brew install flow

 

以上是关于学习 React Native -01 配置开发环境的主要内容,如果未能解决你的问题,请参考以下文章

React Native Android开发环境配置

React-Native 学习笔记-Android开发平台-开发环境搭建

记学习react-native

记学习react-native

开始react-native的学习之旅(IOS)

react native学习笔记