You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
503 B
JavaScript

4 weeks ago
const {defineConfig} = require('@vue/cli-service')
7 months ago
module.exports = defineConfig({
4 weeks ago
transpileDependencies: true, runtimeCompiler: true,
7 months ago
devServer: {
4 weeks ago
host: "0.0.0.0", port: 8899, open: true, proxy: {
7 months ago
// detail: https://cli.vuejs.org/config/#devserver-proxy
'/dev-api': {
4 weeks ago
// target: `http://175.27.215.92:8899/prod-api`,
target: `http://1.13.177.47:8899/prod-api`, changeOrigin: true, pathRewrite: {
7 months ago
["^" + '/dev-api']: "",
},
},
},
},
})