|
@@ -15,8 +15,8 @@ module.exports = {
|
15
|
15
|
// target: 'http://192.168.0.62:8080', //wf
|
16
|
16
|
// target: 'http://127.0.0.1:8080',
|
17
|
17
|
// target: 'http://192.168.0.11:8080', //ys
|
18
|
|
- target: 'http://192.168.0.125:8080', //hyq
|
19
|
|
- // target: 'http://dev.ycjcjy.com/', //frp
|
|
18
|
+ // target: 'http://192.168.0.125:8080', //hyq
|
|
19
|
+ target: 'http://dev.ycjcjy.com', //frp
|
20
|
20
|
changeOrigin: true, // 如果接口跨域,需要进行这个参数配置
|
21
|
21
|
// pathRewrite: {
|
22
|
22
|
// '^/api': 'api'
|
|
@@ -25,7 +25,7 @@ module.exports = {
|
25
|
25
|
},
|
26
|
26
|
// Various Dev Server settings
|
27
|
27
|
host: '0.0.0.0', // can be overwritten by process.env.HOST
|
28
|
|
- port: 8081, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
|
|
28
|
+ port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
|
29
|
29
|
autoOpenBrowser: false,
|
30
|
30
|
errorOverlay: true,
|
31
|
31
|
notifyOnErrors: true,
|
|
@@ -44,7 +44,7 @@ module.exports = {
|
44
|
44
|
*/
|
45
|
45
|
|
46
|
46
|
// https://webpack.js.org/configuration/devtool/#development
|
47
|
|
- devtool: 'cheap-module-eval-source-map',
|
|
47
|
+ devtool: 'source-map',
|
48
|
48
|
|
49
|
49
|
// If you have problems debugging vue-files in devtools,
|
50
|
50
|
// set this to false - it *may* help
|