https://github.com/qunarcorp/qrn-remax-unir-demo
https://github.com/qunarcorp/qrn-remax-unir-demo
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/qunarcorp/qrn-remax-unir-demo
- Owner: qunarcorp
- License: mit
- Created: 2020-11-23T05:17:09.000Z (about 5 years ago)
- Default Branch: demo
- Last Pushed: 2020-12-04T06:14:24.000Z (almost 5 years ago)
- Last Synced: 2025-03-27T23:11:14.969Z (8 months ago)
- Language: JavaScript
- Size: 600 KB
- Stars: 8
- Watchers: 6
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# unirDemo
这是一个三端统一的Demo工程,完全本地打包,基于RN开发,融合了RN的expo框架,以及阿里的remax框架,引入了我们的开源组件库@qnpm/rn-remax-mirror
项目目录结构
```
unirDemo
├── App.js
├── App.web.js
├── README.md
├── app.json
├── assets
│ ├── favicon.png
│ ├── icon.png
│ └── splash.png
├── babel.config.js
├── mini.project.json
├── package.json
├── project.config.json
├── public
│ ├── icon.png
│ └── index.html
├── remax.config.js
├── src
│ ├── Components
│ ├── app.config.js
│ ├── app.css
│ ├── app.js
│ └── pages
├── tree.md
├── webpack.config.js
└── yarn.lock
```
## 启动流程
---
### 1、安装依赖
```
yarn
```
### 2、运行dev环境
```
yarn dev //RN,web环境
yarn dev:wx //微信小程序,需要用小程序IDE打开./dist/wechat目录进行调试开发
```
### 参考文档:
---
remax
- [官网](https://remaxjs.org/)
- [github地址](https://github.com/remaxjs/remax)
expo
- [官网](https://docs.expo.io/)
---