ITeye博客

react-native

共 4 篇文章

reactnative插件

babel-plugin-module-resolver: 自定义、重命名路径名称,如果不喜欢使用相对路径,可以使用这个插件,注意cwd必须配置,否则报错 "plugins": [ ["module-resolver", { "cwd": "babelrc", "root": ["./"], "alias": { "src": "./src", } }] ]

2018-05-27 11:19 · react-native · 插件

react-native 语法

View组件类似于div 外联样式: 内联样式: 多个样式:

2017-07-06 08:28 · react-native

react-native 应用发布

app发布: 1): 生成一个签名密钥 keytool -genkey -v -keystore my-release-key.keystore -alias my-key-alias -keyalg RSA -keysize 2048 -validity 10000 2): 找到路径/android/app/src/main,在目录下新建assets文件夹 3): http://localhost:8081/index.android.bundle?platform=android 将该文件保存后放到/android/app/src/main/assets下 curl -k "http:/…

2017-06-27 08:29 · react-native

reactnative相关

1: React Native开发之IDE: http://blog.csdn.net/hello_hwc/article/details/51612139 http://www.hangge.com/blog/cache/detail_1490.html 2: firefox和chrome安装扩展 React Developer Tools

2017-04-12 15:02 · android和java · react-native