# reactNative **Repository Path**: y1378056783/reactNative ## Basic Information - **Project Name**: reactNative - **Description**: react-native demo - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-02-18 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # reactNative #### 介绍 本项目是RN一个小demo,用于学习 引入了react-navigation导航页管理插件 封装了一个分页加载功能 #### 文件说明 1. typings.json 是react-native编辑器语法提示插件 2. src 是程序主目录 3. tabNav.js 是底部tabBar 4. page 是普通逻辑页面 5. vscode 是vscode编辑器调试配置目录 #### 使用说明 1. npm i //用于安装依赖包 2. react-native run-android //构建android包并开启本地调试服务器 3. 模拟器需要开启Remote JS Debugging(真机通过摇手机调出浮窗设置,模拟器通过按ctrl+M快捷键调出浮窗设置) 4. 开启即时刷新模式Enable Live Reload,方便修改查看效果 #### 调试说明 真机调试全程最好连接数据线并开启usb调试模式