文件名称:rn0.63:开箱即用的React Native脚手架,避免无需复杂的配置和踩坑
文件大小:1.54MB
文件格式:ZIP
更新时间:2024-05-29 02:11:43
JavaScript
开箱即用的React Native应用,避免复杂的配置和踩坑。 RN版本0.63.0-rc.0。 集成NativeBase组件库。 使用react-redux管理状态 使用react-navigation导航页面 项目启动 1. 进入项目根目录安装依赖 yarn install 2. 开启安卓虚拟机Genymotion或Android Studio自带的(建议使用Genymotion) 3.使用Android Studio打开根目录android/app目录,运行一次,编译过程中不报错,提示安装成功即可(可选) 4. 启动服务(根目录运行) yarn react-native start 5. 安装app到虚拟机(根目录运行) yarn android 注意:如报错可尝试将第4步和第五步可互换顺序运行,如还报错请先用Android Studio启动一次。启动方法:使用Android Stu
【文件预览】:
rn0.63-master
----metro.config.js(300B)
----.flowconfig(2KB)
----.gitattributes(16B)
----yarn.lock(302KB)
----.eslintrc.js(74B)
----src()
--------pages()
--------utils()
--------store()
--------components()
----babel.config.js(77B)
----ios()
--------RN063-tvOS()
--------RN063Tests()
--------RN063-tvOSTests()
--------RN063()
--------RN063.xcodeproj()
--------Podfile(751B)
----android()
--------gradlew(6KB)
--------settings.gradle(189B)
--------gradle()
--------gradlew.bat(3KB)
--------gradle.properties(1KB)
--------app()
--------build.gradle(1002B)
----LICENSE(1KB)
----App.js(1021B)
----__tests__()
--------App-test.js(266B)
----README.md(5KB)
----.buckconfig(114B)
----app.json(127B)
----.gitignore(813B)
----.prettierrc.js(120B)
----index.js(183B)
----.watchmanconfig(2B)
----package.json(1KB)