|
@@ -12,7 +12,7 @@ module.exports = {
|
|
|
lintOnSave: false,
|
|
lintOnSave: false,
|
|
|
productionSourceMap: false,
|
|
productionSourceMap: false,
|
|
|
configureWebpack: {
|
|
configureWebpack: {
|
|
|
- devtool: 'source-map',
|
|
|
|
|
|
|
+ // devtool: 'source-map',
|
|
|
performance: {
|
|
performance: {
|
|
|
maxAssetSize: 2000000,
|
|
maxAssetSize: 2000000,
|
|
|
maxEntrypointSize: 2000000
|
|
maxEntrypointSize: 2000000
|
|
@@ -32,10 +32,10 @@ module.exports = {
|
|
|
proxy: {
|
|
proxy: {
|
|
|
// 当我们的本地的请求 有/api的时候,就会代理我们的请求地址向另外一个服务器发出请求
|
|
// 当我们的本地的请求 有/api的时候,就会代理我们的请求地址向另外一个服务器发出请求
|
|
|
'/api': {
|
|
'/api': {
|
|
|
- // target: 'http://192.168.1.125:18086',
|
|
|
|
|
|
|
+ target: 'http://192.168.1.125:18086',
|
|
|
// target: 'http://192.168.1.251:18086',
|
|
// target: 'http://192.168.1.251:18086',
|
|
|
// target: 'http://192.168.1.176:18086',
|
|
// target: 'http://192.168.1.176:18086',
|
|
|
- target: 'http://192.168.1.158:18086',
|
|
|
|
|
|
|
+ // target: 'http://192.168.1.158:18086',
|
|
|
|
|
|
|
|
changeOrigin: true, // 只有这个值为true的情况下 才表示开启跨域
|
|
changeOrigin: true, // 只有这个值为true的情况下 才表示开启跨域
|
|
|
pathRewrite: {
|
|
pathRewrite: {
|