mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-11-12 05:33:48 +08:00
v3.23.0 【新增】TS代码生成和优化;【优化】log日志格式;【优化】数据字典缓存;【优化】职位表结构
This commit is contained in:
@@ -35,10 +35,19 @@ export default {
|
||||
},
|
||||
],
|
||||
},
|
||||
// 服务端渲染
|
||||
server: {
|
||||
host: '0.0.0.0',
|
||||
port: 8081,
|
||||
server: {
|
||||
proxy: {
|
||||
// 代理路径
|
||||
'/': {
|
||||
target: 'http://127.0.0.1:1024/', // 目标服务器地址
|
||||
changeOrigin: true, // 是否修改请求头中的 Origin 字段
|
||||
rewrite: (path) => path, // 重写路径
|
||||
},
|
||||
},
|
||||
}
|
||||
},
|
||||
plugins: [vue()],
|
||||
optimizeDeps: {
|
||||
|
||||
Reference in New Issue
Block a user