chore: 初始化平芝126KV断路器线 OP 前端

This commit is contained in:
yexingqiang
2026-06-08 17:19:35 +08:00
commit 758b722e98
126 changed files with 25376 additions and 0 deletions

22
vue.config.js Normal file
View File

@@ -0,0 +1,22 @@
// const os = require('os')
// const networkInterfaces = os.networkInterfaces()
// const ip = networkInterfaces['以太网'][1] ? networkInterfaces['以太网'][1].address : networkInterfaces['以太网'][0].address
// console.log(ip)
module.exports = {
// 在开发和构建时,只警告 lint 错误,不阻塞编译
lintOnSave: 'warning',
configureWebpack: {
devtool: 'source-map'
},
devServer: {
port: 8090,
host: '0.0.0.0',
https: false,
open: false
},
// Webpack 5 性能优化
parallel: true,
// 确保兼容性
transpileDependencies: []
}