rn初体验
2024-08-31 10:06:26
react-native
需要的工具
.nodejs
.rn cli
.xcode and as
---------------- 打开终端,切换到根路径(mac中修改npm的默认安装来源) 一、open .npmrc(会提示找不到该文件,没关系) 二、npm config set registry https://registry.npm.taobao.org 三、再次跳到步骤一,就能看到npmrc文件中已经设置好了registry --------------- .安装nodejs
brew install node .完成后输入
node -v
npm -v .安装rn cli
npm install -g react-native-cli .初始化第一个项目
react-native init firstApp .切换到项目根目录,运行 ios,android
react-native run-ios ,react-native run-android as先安装安卓sdk =========
体验不是很好。。。。
最新文章
- js中列表控件排序箭头,在wke中不支持的解决办法
- LDAP 中 CN, OU, DC 的含义
- 几个简单的html+css+js题目
- [SAP ABAP开发技术总结]增强Enhancement
- 【LA3942-Remember the word 】Trie
- angularJS之$apply()方法
- ehcache版本冲突
- OC11_自动释放池
- 数据类型的转换String
- JSON序列化选项
- QTableWidget class
- Windows Server 2012 任务管理器“性能”Tab页显示磁盘信息
- pycharm fiddler requests.exceptions.SSLError
- Ubuntu登录系统失败的解决方案
- [label][git-commands] Several Git Commands
- React setState更新数组中的某个元素Element item
- 【java】服务器端获取用户访问的URL/用户IP/PC还是移动端
- ibatais.net 连接 mysql 最全配置写法
- ACM_统计字符串
- CentOS7将firewall切换为iptables防火墙