An open API service indexing awesome lists of open source software.

https://github.com/ymm-tech/thresh-template

Thresh project template, used to quickly build based thresh projects.
https://github.com/ymm-tech/thresh-template

Last synced: 9 months ago
JSON representation

Thresh project template, used to quickly build based thresh projects.

Awesome Lists containing this project

README

          

### 进入开发

1. 安装 yarn
3. 进入工程根目录,执行 `yarn install` 安装依赖
4. 执行 `yarn dev` 启动本地服务
5. 进入 Thresh 项目,执行 `flutter run` 启动 flutter 本地调试工程
> Thresh 将会自动连接到 http://127.0.0.1:12345 并加载 js 执行文件

> iOS 宿主工程支持连接本地服务进行调试,首先使用 `yarn prod` 代替 `yarn dev`,之后进入 iOS 宿主工程调试面板填写本地 ip 即可

### 项目打包

执行 `yarn build` 即可打包,打包后的项目会在 `/dist` 目录中