feat: add url prefix path

This commit is contained in:
engigu
2026-01-13 18:18:50 +08:00
parent b07e742550
commit ff6faa229c
15 changed files with 275 additions and 53 deletions
+3 -1
View File
@@ -18,5 +18,7 @@ export default defineConfig({
ws: true
}
}
}
},
// 支持通过环境变量设置 base URL(开发时测试用)
base: process.env.VITE_BASE_URL || '/'
})