随笔分类 -  React Native

摘要:修改 Maven 仓库地址 gradle 环境变量 mac ~/.bash_profile export ANDROID_HOME=/Users/Shared/android-sdk-macosxexport PATH=$PATH:$ANDROID_HOME/toolsexport PATH=$PA 阅读全文
posted @ 2019-01-05 21:16 老榕树 阅读(614) 评论(0) 推荐(0) 编辑
摘要:vscode 搭建react-native 选择:vscode + typings + eslint * vscode: 宇宙最强IDE家族的最新产品 * typings: 基于typescirpt的接口文件 * eslint: 代码静态检查,技能检测低级的语法错误,又能规范代码格式和应用最佳实践 阅读全文
posted @ 2018-12-21 09:04 老榕树 阅读(3220) 评论(0) 推荐(0) 编辑
摘要:npm的.npmrc文件在哪里?缓存及全局包文件在什么位置? npm作为node开发过程中的必备工具,长期使用之后,您可能会想:这些全局安装的node包都放在硬盘里面的哪个地方?配置文件.npmrc文件在哪里?node包的缓存位置在哪里?本文里,苏南大叔就讲述npm相关的这些位置信息。如果您需要深入 阅读全文
posted @ 2018-12-12 21:42 老榕树 阅读(7576) 评论(0) 推荐(0) 编辑
摘要:终端命令 open 打开 .npmrc 插入一行代码 registry=https://registry.npm.taobao.org 阅读全文
posted @ 2018-12-12 10:14 老榕树 阅读(390) 评论(0) 推荐(0) 编辑
摘要:https://react.rocks/tag/ReactNative?show=60 https://github.com/ReactNativeNews/React-Native-Apps 阅读全文
posted @ 2018-12-07 23:03 老榕树 阅读(372) 评论(0) 推荐(0) 编辑
摘要:iOS9 & iOS10 & iOS11 HTTP 不能正常使用的解决办法 xcode ios 291.4k 次阅读 · 读完需要 8 分钟 iOS9 & iOS10 & iOS11 HTTP 不能正常使用的解决办法 xcode ios 291.4k 次阅读 · 读完需要 8 分钟 iOS9 & i 阅读全文
posted @ 2018-11-30 21:44 老榕树 阅读(890) 评论(0) 推荐(0) 编辑
摘要:Components Learn how to type React class components and stateless functional components with Flow Search docs Components Learn how to type React class 阅读全文
posted @ 2018-11-30 20:45 老榕树 阅读(1768) 评论(0) 推荐(0) 编辑
摘要:一、 let、const 和 var let和const只在当前块级作用域中有效const用来声明常量var是全局作用域有效的 constants.js 模块export const A = 1;export const B = 3;export const C = 4; test1.js 模块im 阅读全文
posted @ 2018-11-14 10:57 老榕树 阅读(123) 评论(0) 推荐(0) 编辑
摘要:React Native基础教程 React Native是Facebook开源的框架,用来写Android和iOS移动App。它的口号是 “Learning once, write anywhere”,目的是统一View的编写。我个人也是由于公司需要,故入坑学习,下面就我的理解简单总结下React 阅读全文
posted @ 2018-11-14 10:55 老榕树 阅读(2556) 评论(0) 推荐(0) 编辑
摘要:ReactNative前端开发者 文档版本0.0.2 Author: Necfol 说明: 本文档用于指导前端React Native的开发,如需开发其他其他框架应用,不适用本文档 前期准备 1、搭建脚手架 1.1、安装脚手架工具 通过 npm 安装 React Native 脚手架命令行工具 1. 阅读全文
posted @ 2018-11-14 10:12 老榕树 阅读(630) 评论(0) 推荐(0) 编辑
摘要:React Native 日常报错 'config.h' file not found React Native 日常报错 'config.h' file not found React Native 日常报错 'config.h' file not found React Native 日常报错 阅读全文
posted @ 2018-11-12 22:37 老榕树 阅读(522) 评论(0) 推荐(0) 编辑
摘要:Sublime Text 3 搭建React.js开发环境 Sublime有很强的自定义功能,插件库很庞大,针对新语言插件更新很快,配合使用可以快速搭建适配语言的开发环境。 1. babel-sublime 支持ES6, React.js, jsx代码高亮,对 JavaScript, jQuery 阅读全文
posted @ 2018-11-07 10:26 老榕树 阅读(692) 评论(0) 推荐(0) 编辑
摘要:Could not GET 'https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.1.2/gradle-3 2018年07月24日 19:05:05 老衲不出家 阅读数:1923 Could not GET 阅读全文
posted @ 2018-11-05 21:19 老榕树 阅读(1227) 评论(0) 推荐(0) 编辑
摘要:今天刚升级到Xcode10,就遇到两个报错问题 错误一:Xcode 10: Build input file double-conversion cannot be found error: Build input file cannot be found: '../node_modules/rea 阅读全文
posted @ 2018-11-03 21:48 老榕树 阅读(1038) 评论(0) 推荐(0) 编辑
摘要:一直是从事iOS的开发,现在研究下mac环境下reatNative的环境配置: 1. 安装HomeBlew(OS系统上的一个安装包管理器,安装后可以方便后续安装包的安装。) 终端命令: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/H 阅读全文
posted @ 2018-11-03 21:47 老榕树 阅读(654) 评论(0) 推荐(0) 编辑
摘要:情况:根据https://github.com/rebeccahughes/react-native-device-info添加依赖库,运行.xcworkspacea项目后报错 解决:Delete node modules, then run npm install (or better yet y 阅读全文
posted @ 2018-11-03 21:46 老榕树 阅读(1009) 评论(0) 推荐(0) 编辑
摘要:我在创建react-native项目时 npm了一个第三方库 结果一打开 xcode 竟然报错 React/RCTBundleURLProvider.h' file not found; 然后 我试了各种网上的方法试了一遍, 还是不行 就在我要放弃的时候 ,突然想到把网上的方法 结合一下 试试,结果 阅读全文
posted @ 2018-11-03 21:45 老榕树 阅读(991) 评论(0) 推荐(0) 编辑
摘要:'React/RCTBundleURLProvider.h' file not found 新建RN项目时在iOS端用xcode跑时有时会遇到 'React/RCTBundleURLProvider.h' file not found 错误,遇到这种错误一般有一下几种情况: 1. 没有执行 npm 阅读全文
posted @ 2018-11-03 21:42 老榕树 阅读(347) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示