react native 环境搭建(iOS)
来源:互联网 发布:超级优化还原 编辑:程序博客网 时间:2024/06/10 07:28
1.安装 Homebrew
brew install watchman
brew install flow
现在所有的依赖工具安装完毕;
3.安装react native
在终端输入命令行 npm install -g react-native-cli
4.创建一个react native的工程,(工程名HelloWorld)
命令行 react-native init HelloWorld
(这个过程的时间比较长)(注意:这一步最好提前把路径设置为desktop后,再创建工程,要不找HelloWorld工程要去全局搜索文件)
到http://brew.sh主页,按照提示安装Homebrew工具,在首页复制粘贴里面的命令行到终端(这个过程可能有一定时间),
安装完成之后,可以通过命令行 brew -v 来检测是否安装成功
2.安装node,watchman,flow
brew install watchman
brew install flow
现在所有的依赖工具安装完毕;
3.安装react native
在终端输入命令行 npm install -g react-native-cli
4.创建一个react native的工程,(工程名HelloWorld)
命令行 react-native init HelloWorld
(这个过程的时间比较长)(注意:这一步最好提前把路径设置为desktop后,再创建工程,要不找HelloWorld工程要去全局搜索文件)
0 0
- react native 环境搭建(iOS)
- React Native环境搭建(ios)
- React Native iOS环境搭建
- React Native -ios环境搭建
- React Native iOS环境搭建
- React Native iOS环境搭建
- React Native iOS环境搭建
- React Native iOS环境搭建
- React Native 环境的搭建(iOS\mac环境)
- React Native iOS环境搭建(ios自学笔记)
- react native环境搭建for iOS
- React Native iOS 开发环境搭建
- React Native iOS环境搭建 高级版
- react-native mac-ios环境搭建
- React Native环境搭建
- react native环境搭建
- react-native环境搭建
- React Native环境搭建
- 第8周实践项目2-建立链串的算法库
- 远程连接服务器无法拷贝本地文件解决(远程桌面无法复制文件)
- IOS--- Segue区别及视图的切换
- Android 双向滑动菜单完全解析
- Android UI开发第三篇-PopupWindow
- react native 环境搭建(iOS)
- 优先级反转问题的和解决方法
- 第9周—项目2 对称矩阵压缩存储的实现与应用(1)用压缩形式存储对称矩阵
- int 转 string
- 基本常用的正则表达式
- fl2440添加内核usb驱动时的问题
- 采用dlopen、dlsym、dlclose加载动态链接库【总结】
- Could not obtain transaction-synchronized Session for current thread
- 第八周项目2 - 建立链串的算法库