feat: live module and jenkins pipeline to harbor deploy

This commit is contained in:
Yvan
2026-09-23 17:42:54 +08:00
parent e376ff02aa
commit 53e8599bdd
145 changed files with 8984 additions and 269 deletions
+3 -1
View File
@@ -93,7 +93,8 @@ export default ({ mode }) => {
vue$: 'vue/dist/vue.runtime.esm-bundler.js'
}
const base = '/'
// 生产环境部署在 live.fuhua91.com/admin/ 下,由 .env.production 的 VITE_APP_BASE 控制
const base = env.VITE_APP_BASE || '/'
const root = './'
const outDir = 'dist'
@@ -122,6 +123,7 @@ export default ({ mode }) => {
// 需要代理的路径 例如 '/api'
target: `${env.VITE_BASE_PATH}:${env.VITE_SERVER_PORT}/`, // 代理到 目标路径
changeOrigin: true,
ws: true,
rewrite: (path) =>
path.replace(new RegExp('^' + env.VITE_BASE_API), '')
}