2025-02-17 23:06:19 +08:00
|
|
|
const { defineConfig } = require('@vue/cli-service')
|
2025-03-27 22:57:45 +08:00
|
|
|
|
2025-03-25 19:55:25 +08:00
|
|
|
module.exports = {
|
2025-03-27 22:57:45 +08:00
|
|
|
transpileDependencies: true,
|
|
|
|
//publicPath: 'http://localhosst:3100', // 这里控制静态资源的前缀路径
|
2025-03-25 19:55:25 +08:00
|
|
|
devServer: {
|
|
|
|
port: 3100, // 将默认端口 3100
|
|
|
|
host: 'localhost', // 可选:设置为 '0.0.0.0' 后台访问
|
|
|
|
open: true // 自动打开浏览器
|
|
|
|
}
|
2025-03-27 22:57:45 +08:00
|
|
|
|
2025-03-26 17:38:40 +08:00
|
|
|
}
|