|
hai 1 mes | |
---|---|---|
.build | hai 1 mes | |
.husky | hai 4 meses | |
__e2e_test__ | hai 1 mes | |
config | hai 2 meses | |
cypress | hai 1 mes | |
mocks | hai 4 meses | |
public | hai 4 meses | |
py | hai 2 meses | |
requirements | hai 1 mes | |
src | hai 1 mes | |
types | hai 4 meses | |
.editorconfig | hai 4 meses | |
.env.development | hai 4 meses | |
.env.production | hai 4 meses | |
.env.test | hai 4 meses | |
.eslintignore | hai 1 mes | |
.gitattributes | hai 4 meses | |
.gitignore | hai 1 mes | |
.lintstagedrc.json | hai 1 mes | |
.prettierrc | hai 4 meses | |
README.md | hai 1 mes | |
babel.config.js | hai 4 meses | |
cypress.config.ts | hai 1 mes | |
electron-builder.json | hai 2 meses | |
eslint.config.mjs | hai 4 meses | |
main.js | hai 2 meses | |
package-lock.json | hai 1 mes | |
package.json | hai 1 mes | |
postcss.config.js | hai 4 meses | |
project.config.json | hai 4 meses | |
tailwind.config.js | hai 4 meses | |
tsconfig.json | hai 4 meses |
内部按模块分组,按模块建文件夹,比如API/patient 表示和patient模块相关的API
依次执行以下命令:
npm run build:electron:win
npm run build:electron:linux
环境要求:
从模拟器启动打包后的apk:
执行安装命令:
adb install -r -t .build\dros\platforms\android\app\build\outputs\apk\debug\app-debug.apk
执行启动命令
adb shell am start -n zskk.dros/.MainActivity
注意
- gradle和java jvm版本匹配
- Cordova 和 build-tools版本匹配
相关工具的推荐版本:
修改.env.development中变量USE_MSW的值为true,然后执行npm run dev:h5命令