Files
QingAnVue2TV/vue.config.js
DaLuJia Developer 2abd286d42 Initial commit: 大陆架零部件智能生产线数字孪生系统
- 实现TV1和TV2双大屏展示
- 集成ECharts数据可视化
- 实现实时数据刷新机制
- 添加刀具寿命管理模块
- 添加工单加工时长统计模块
- 添加加工中心7日工作时长统计模块
- 添加OEE分析、设备状态监控等功能
- 创建技术文档和使用说明书
2026-05-21 09:19:09 +08:00

32 lines
970 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
module.exports = {
publicPath: '/',
devServer: {
// host: '192.168.1.247',
host: '127.0.0.1',
// https: true,
disableHostCheck: true,
port: '8082',
proxy: {
'/mqtt': {
target: 'ws://127.0.0.1:8083/mqtt',
ws: true, // 如果要代理 websockets配置这个参数
secure: false, // 如果是https接口需要配置这个参数
changeOrigin: true, // 如果接口跨域,需要进行这个参数配置
pathRewrite: {
'^/mqtt': '' // 路径重写
}
},
'/socket': {
target: 'ws://192.168.1.188:8083/mqtt',
ws: true, // 如果要代理 websockets配置这个参数
secure: false, // 如果是https接口需要配置这个参数
changeOrigin: true, // 如果接口跨域,需要进行这个参数配置
pathRewrite: {
'^/socket': '' // 路径重写
}
}
}
}
// publicPath: '/GQMobile/'
}