jeepay-ui/README.md

42 lines
1.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Jeepay UI
为Jeepay对应的前端项目包括运营平台、商户系统、聚合码收银台。前端技术以vue为主框架使用Ant Design Vue开发。
Java服务端项目https://gitee.com/jeequan/jeepay
> 目录结构
```lua
jeepay-ui
├── jeepay-ui-cashier -- 聚合收银台项目
├── jeepay-ui-manager -- 运营平台web管理端
└── jeepay-ui-merchant -- 商户系统web管理端
```
> 参考命令
node版本要求`<= 16 `
#### 参考命令
``` bash
# 拉取源码完毕后请先安装依赖, 进入项目根目录命令行执行:
> npm install
# 本地启动项目(开发环境):
1. 打开根目录下文件".env.development", 修改请求服务器地址"VUE_APP_API_BASE_URL"
2. 在项目根目录命令行执行:
> npm run serve
# 打包(生产环境):
1. 打开根目录下文件".env", 修改请求服务器地址"VUE_APP_API_BASE_URL"
2. 在项目根目录命令行执行:
> npm run build
3. 文件将输出到 [/dist]目录, 拷贝到web服务器即可。
```