SmailParks_visitoer_H5/vue.config.js
2025-08-14 11:50:11 +08:00

48 lines
1.3 KiB
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.

/**
* Copyright (c) 2013-Now http://aidex.vip All rights reserved.
*/
module.exports = {
configureWebpack: {
devServer: {
port : 8082,
disableHostCheck : true,
proxy : {
"/api" : {
target : "http://183.230.235.66:11010",
// target : "http://127.0.0.1:8080",
changeOrigin : true,
secure : false
}
}
}
},
productionSourceMap: false,
}
// module.exports = {
// /* 部署生产环境和开发环境下的URL可对当前环境进行区分baseUrl 从 Vue CLI 3.3 起已弃用要使用publicPath */
// publicPath: "",
// assetsDir: "static/lipin",
// outputDir: "dist",
// runtimeCompiler: true,
// productionSourceMap: false,
// /* webpack-dev-server 相关配置 */
// devServer: {
// /* 自动打开浏览器 */
// open: true,
// /* 设置为0.0.0.0则所有的地址均能访问 */
// host: devHost,
// port: devPort,
// https: false,
// hotOnly: false,
// /* 使用代理 */
// proxy: {
// '/': {
// /* 目标代理服务器地址 */
// target: proxy.target,
// /* 允许跨域 */
// changeOrigin: proxy.changeOrigin,
// },
// },
// },
// }