温度看板搭建示例

This commit is contained in:
“hsc”
2026-08-28 10:21:06 +08:00
parent 2194ca4d34
commit 43f1dde4e2
11 changed files with 1276 additions and 82 deletions
+8 -1
View File
@@ -11,6 +11,13 @@ export default defineConfig({
},
server: {
port: 3000,
open: true
open: true,
// 开发环境代理:/api 请求转发到后端服务,避免跨域
proxy: {
'/api': {
target: 'http://localhost:5287',
changeOrigin: true
}
}
}
})