18 lines
363 B
JavaScript
18 lines
363 B
JavaScript
const { defineConfig } = require("@vue/cli-service");
|
|
module.exports = defineConfig({
|
|
transpileDependencies: true,
|
|
lintOnSave: false,
|
|
publicPath: "./",
|
|
devServer: {
|
|
proxy: {
|
|
"/api": {
|
|
target: "http://111.229.30.246:32761",
|
|
changeOrigin: true,
|
|
pathRewrite: {
|
|
"^/api": "/api",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
});
|