demo 项目
To run your app on iOS:
cd your files path/rnDemoApp
react-native run-ios
or
Open ios/adminD2pApp.xcodeproj in Xcode
Hit the Run button
To run your app on Android:
cd your files path/rnDemoApp
Have an Android emulator running (quickest way to get started), or a device connected
react-native run-android
create bundle:
react-native bundle --platform android --entry-file index.android.js --bundle-output ./bundles/index.android.bundle --dev false
文件目录介绍
1、[apps - 页面组件]
-- apps/route.tsx 项目路由配置
-- apps/index.tsx 项目主入口
-- apps/home/index.tsx 项目gradlew xxYourAndroidProjectModuleName:build首页
-- apps/apps.tsx 页面组件首页
2、[qmbase - 基础组件] -- qmbase/index.tsx 基础组件首页
3、[qmkit - 开发公共组件]
4、[qmset - 通用组件] -- qmset/index.tsx 通用组件首页
5、[qmbusiness - 核心业务组件] -- qmbusiness/index.tsx 核心业务组件首页