ECS-Vue/vue.config.js

12 lines
306 B
JavaScript
Raw Normal View History

2025-02-17 23:06:19 +08:00
const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
transpileDependencies: true
})
2025-03-25 19:55:25 +08:00
module.exports = {
devServer: {
port: 3100, // 将默认端口 3100
host: 'localhost', // 可选:设置为 '0.0.0.0' 后台访问
open: true // 自动打开浏览器
}
2025-03-26 17:38:40 +08:00
}