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.
|
2 months ago | |
---|---|---|
.. | ||
build | 2 months ago | |
mock | 2 months ago | |
public | 2 months ago | |
src | 2 months ago | |
.editorconfig | 2 months ago | |
.env.development | 2 months ago | |
.env.production | 2 months ago | |
.env.staging | 2 months ago | |
.eslintignore | 2 months ago | |
.eslintrc.js | 2 months ago | |
.gitignore | 2 months ago | |
.travis.yml | 2 months ago | |
LICENSE | 2 months ago | |
README.md | 2 months ago | |
babel.config.js | 2 months ago | |
datax-vue-admin.iml | 2 months ago | |
jest.config.js | 2 months ago | |
package.json | 2 months ago | |
plopfile.js | 2 months ago | |
postcss.config.js | 2 months ago | |
todo.md | 2 months ago | |
vue.config.js | 2 months ago |
README.md
Datax Web UI
说明
该项目由 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