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.

18 lines
597 B
JavaScript

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