mirror of https://github.com/longtai-cn/hippo4j
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
642 B
40 lines
642 B
3 years ago
|
# Hippo4J Console UI
|
||
|
|
||
|
## 说明
|
||
|
|
||
|
该项目由 [datax-web-ui](https://github.com/WeiYe-Jing/datax-web-ui)、[vue-element-admin](https://github.com/PanJiaChen/vue-element-admin) 修改而来
|
||
|
|
||
|
|
||
|
## Build Setup
|
||
|
|
||
|
运行
|
||
|
|
||
|
```
|
||
|
npm install [ 慢的话用 npm install --registry https://registry.npm.taobao.org]
|
||
|
```
|
||
|
|
||
|
修改配置
|
||
|
|
||
|
找到 `vue.config.js` 修改 `proxy` 里的属性即可
|
||
|
|
||
|
```
|
||
|
[process.env.VUE_APP_API]: {
|
||
|
target: `http://localhost:${apiPort}/api`,
|
||
|
changeOrigin: true,
|
||
|
pathRewrite: {
|
||
|
['^' + process.env.VUE_APP_API]: ''
|
||
|
}
|
||
|
```
|
||
|
|
||
|
启动
|
||
|
|
||
|
```
|
||
|
npm run dev
|
||
|
```
|
||
|
|
||
|
打包
|
||
|
|
||
|
```
|
||
|
npm run build:prod
|
||
|
```
|