# 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](https://cli.vuejs.org/config/). ## 注意事项 除 ./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