![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
React Native
巴黎塔上的星空
这个作者很懒,什么都没留下…
展开
-
React/React Native 的ES5 ES6写法对照表
转载: http://bbs.reactnative.cn/topic/15/react-react-native-%E7%9A%84es5-es6%E5%86%99%E6%B3%95%E5%AF%B9%E7%85%A7%E8%A1%A8英文版: https://babeljs.io/blog/2015/06/07/react-on-es6-plus 很多Reac转载 2017-07-11 09:14:53 · 202 阅读 · 0 评论 -
React Native unable to load script from assets index.android.bundle on windows
在工程目录冲创建assets文件 mkdir android/app/src/main/assets2.运行命令react-native bundle --platform android --dev false --entry-file index.android.js --bundle-output android/app/src/main/assets/ind原创 2017-07-11 10:30:19 · 4986 阅读 · 0 评论 -
Reactive Native打包流程
地址:https://github.com/zhongxia245/blog/issues/52Mac 下 ReactNative如何打包构建Android apk 的应用。该文章还差一个 打包发布到各个平台的教程总结打包 bundle代码生成签名添加签名到app中打包成apk(打包前也可以先运行安装在手机上测试)把JS代码,打包成 index.androi转载 2017-07-11 12:30:07 · 1108 阅读 · 0 评论 -
真机测试-unable to load script 坑
在android手机上运行react-native项目时报错:unable to load script from assets 'index.android bundle' ,make sure your bundle is packaged correctly or youu're runing a packager server目前我所使用的版本: react-...转载 2018-09-06 19:12:21 · 2791 阅读 · 1 评论 -
2分钟 npm 安装React Devtools调试工具
1.去git上下载react-devtools文件到本地,下载地址: https://github.com/facebook/react-devtools ; 可以直接下载zip安装包解压,或者通过git clone来将项目拷贝到本地 git clone https://github.com/facebook/react-devtools.git2.进入react-devtools文件夹,...转载 2019-02-15 09:50:51 · 315 阅读 · 0 评论 -
npm run eject报错(使用create-react-app创建项目)
今天使用create-react-app 创建了一个名为project的工程。想使用 npm run eject命令来暴露出脚手架封装的一些配置结果却报以下错误经网上资料参考得知git惹的祸主要问题是脚手架添加.gitgnore文件,但是却没有本地仓库解决方案:#create-react-app project#cd project#git init#git ad...转载 2019-03-26 22:48:56 · 165 阅读 · 0 评论