forked from xxhjsb/hbt-prevention-ui
feat:配置修改
parent
288ef5dd47
commit
621b0d7d13
|
@ -18,4 +18,4 @@ VUE_APP_ALL_MENU = false
|
||||||
# VUE_APP_EXPOSES_URL="http://192.168.1.20:8090"
|
# VUE_APP_EXPOSES_URL="http://192.168.1.20:8090"
|
||||||
VUE_APP_REMOTES_URL=""
|
VUE_APP_REMOTES_URL=""
|
||||||
# 当前应用部署地址
|
# 当前应用部署地址
|
||||||
VUE_APP_EXPOSES_URL="/prevention/"
|
VUE_APP_EXPOSES_URL="http://192.168.1.121/prevention/"
|
|
@ -7,7 +7,7 @@ const resolve = (dir) => {
|
||||||
return path.join(__dirname, dir);
|
return path.join(__dirname, dir);
|
||||||
};
|
};
|
||||||
module.exports = defineConfig({
|
module.exports = defineConfig({
|
||||||
publicPath: "./",
|
publicPath: process.env.VUE_APP_EXPOSES_URL,
|
||||||
productionSourceMap: process.env.NODE_ENV !== "production",
|
productionSourceMap: process.env.NODE_ENV !== "production",
|
||||||
transpileDependencies: true,
|
transpileDependencies: true,
|
||||||
lintOnSave: true, // 在保存时校验格式
|
lintOnSave: true, // 在保存时校验格式
|
||||||
|
|
Loading…
Reference in New Issue