- 博客(2)
- 收藏
- 关注
原创 React Native 屏幕适配
直接上代码import { Dimensions,PixelRatio} from 'react-native';export const windowWidth = Dimensions.get('window').width; //当前设备宽高export const windowHeight = Dimensions.get('window').height; const fontS
2017-06-28 00:59:51
365
原创 OPPO R9真机上运行react native项目
由于我的手机是oppo R9在安装RN的时候遇见了坑,导致无法在真机上运行。 这里给大家分享一下我的解决方法。首先就跟着react native 中文网的搭建开发环境的步骤走一遍 https://reactnative.cn/docs/0.45/getting-started.html 环境都装好以后就是安装RN了测试安装react-native init AwesomeProjectcd
2017-06-19 21:07:37
1595
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人