MTP2.0 统一H5客户端 2023, v20 分支为主使用分支。

Handy_Cao 537b8d71e4 xxxx 8 tuntia sitten
app f2fddb01fb update 1 viikko sitten
file 11e94a73ed update 2 kuukautta sitten
oem ff72419644 xxxxx 1 viikko sitten
public 01a3b310d0 xxxxx 1 päivä sitten
script e9e7d8b153 update 2 kuukautta sitten
src 537b8d71e4 xxxx 8 tuntia sitten
.browserslistrc a34a3aa997 xxxx 1 vuosi sitten
.eslintrc.js 1afbad4861 update 9 kuukautta sitten
.gitignore a34a3aa997 xxxx 1 vuosi sitten
.npmrc ebc6dcb2dd update 1 vuosi sitten
README.md 02831c2651 更新readme.md 3 kuukautta sitten
babel.config.js a34a3aa997 xxxx 1 vuosi sitten
package-lock.json 66d6f21251 update 2 viikkoa sitten
package.json 66d6f21251 update 2 viikkoa sitten
tsconfig.json a34a3aa997 xxxx 1 vuosi sitten
vue.config.js f2fddb01fb update 1 viikko sitten

README.md

mtp2_h5_plus

Project setup

npm install

Compiles and hot-reloads for development

通用版调试

npm run dev pc
npm run dev mobile

OEM版调试

mobile oem: npm run dev tss (sdr,tc,thj,tjmd, tss, tss-vi, ykhj....)
pc oem: npm run dev tss@pc (tss-vi@pc, zrwyt@pc.....)

Compiles and minifies for production

通用版构建

npm run build pc
npm run build mobile

OEM版构建

mobile oem: npm run build tss (sdr,tc,thj,tjmd, tss, tss-vi, ykhj....) pc oem: npm run build tss@pc (tss-vi@pc, zrwyt@pc.....)


### Lints and fixes files

npm run lint ```

Customize configuration

See Configuration Reference.

注意事项

除 ./src/packages 文件夹内禁止引入 UI 组件库

https://blog.csdn.net/qq_40323256/article/details/123809155 npx pbjs -t json-module -w commonjs -o src/services/socket/trade/protobuf/thj.js public/proto/thj.proto

构建PC EXE安装包

  1. 先构建指定的PC版本 npm run build pc(或 snhl@pc)

  2. 打成EXE安装包 npm run build:electron