Browse Source

first commit

lsh 1 tháng trước cách đây
commit
c11c5bc797
1 tập tin đã thay đổi với 41 bổ sung0 xóa
  1. 41 0
      README.md

+ 41 - 0
README.md

@@ -0,0 +1,41 @@
+# Datax Web UI
+
+## 说明
+
+[后端项目github地址](https://github.com/WeiYe-Jing/datax-web)
+
+该项目由 [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
+```