We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2c6e5f3 + c71026c commit 2bec57aCopy full SHA for 2bec57a
.env.local
@@ -5,7 +5,8 @@ ENV = 'development'
5
VUE_APP_TITLE = 芋道管理系统
6
7
# 芋道管理系统/本地环境
8
-VUE_APP_BASE_API = '/dev-api'
+# VUE_APP_BASE_API = '/proxy-api'
9
+VUE_APP_BASE_API = 'http://127.0.0.1:48080'
10
11
# 路由懒加载
12
VUE_CLI_BABEL_TRANSPILE_MODULES = true
vue.config.js
@@ -35,7 +35,7 @@ module.exports = {
35
open: true,
36
proxy: {
37
// detail: https://cli.vuejs.org/config/#devserver-proxy
38
- [process.env.VUE_APP_BASE_API]: {
+ ['/proxy-api']: {
39
target: `http://localhost:48080`,
40
// target: `http://api-dashboard.yudao.iocoder.cn`,
41
changeOrigin: true,
0 commit comments