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

deng.yinping 3571d2b26b update пре 3 месеци
app eb709bf879 update пре 3 месеци
file a94f15d3b6 update пре 3 месеци
oem 3571d2b26b update пре 3 месеци
public 397ff06b1a xxxxx пре 3 месеци
script 34f02e7e6d update пре 3 месеци
src eb709bf879 update пре 3 месеци
.browserslistrc a34a3aa997 xxxx пре 1 година
.eslintrc.js 1afbad4861 update пре 9 месеци
.gitignore a34a3aa997 xxxx пре 1 година
.npmrc ebc6dcb2dd update пре 1 година
README.md 02831c2651 更新readme.md пре 3 месеци
babel.config.js a34a3aa997 xxxx пре 1 година
package-lock.json ef859dc1a9 xxxx пре 8 месеци
package.json b08a10b4bd update пре 1 година
tsconfig.json a34a3aa997 xxxx пре 1 година
vue.config.js 80b6f43a9c update пре 1 година

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