This action will force synchronization from CRM8000/PSI_Mobile, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
PSI ( https://gitee.com/crm8000/PSI ) 移动端
Material-UI https://material-ui.com/
UmiJS https://umijs.org/
DVA https://github.com/dvajs/dva
IDE - VS Code
nodejs
安装完nodejs可以npm的仓库设置为国内淘宝镜像
npm config set registry https://registry.npm.taobao.org
git clone https://gitee.com/crm8000/PSI_Mobile.git
cd PSI_Mobile
npm install
npm start
首次安装的的时候,可以把杀毒软件等监控本地文件的关闭,以防止npm install失败。
PSI_Mobile只是JS前段代码,开发的时候需要配合PSI的后端代码。
也就是需要 http://localhost 能访问到PSI(80端口)
与后端proxy配置在 .webpackrc.js 中可以配置
npm run build
参考PSI部署脚本:https://gitee.com/crm8000/PSI/blob/master/doc/05%20Script/build_All.sh
PSI_Mobile的底层使用了UmiJS,这是它的部署参考文档: