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.
23 lines
524 B
JavaScript
23 lines
524 B
JavaScript
23 hours ago
|
const { defineConfig } = require('@vue/cli-service')
|
||
|
module.exports = defineConfig({
|
||
|
transpileDependencies: true,
|
||
|
runtimeCompiler: true,
|
||
|
|
||
|
devServer: {
|
||
|
host: "0.0.0.0",
|
||
|
port: 8899,
|
||
|
open: true,
|
||
|
proxy: {
|
||
|
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
||
|
'/dev-api': {
|
||
|
target: `http://124.223.15.102:9600`,
|
||
|
// target: `http://1345442242.gnway.cc:80`,
|
||
|
changeOrigin: true,
|
||
|
pathRewrite: {
|
||
|
["^" + '/dev-api']: "",
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
})
|