文件
info-from/vue.config.js
T
2025-02-20 13:46:19 +08:00

21 行
430 B
JavaScript

const { defineConfig } = require("@vue/cli-service");
module.exports = defineConfig({
transpileDependencies: true,
lintOnSave: false,
devServer: {
port: 9955,
open: true,
proxy: {
"/api": {
// target: "http://localhost:911",
target: "http://47.114.150.226:88",
changeOrigin: true,
pathRewrite: {
"^/api": "",
},
ws: false,
},
},
},
});