From 2d9eaadefb271a43a9a7de7c299377321e07bc8e Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Thu, 14 Aug 2025 13:29:10 +0800
Subject: [PATCH] 1
---
config/index.js | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/config/index.js b/config/index.js
index c3fafa2..3cfdf3c 100644
--- a/config/index.js
+++ b/config/index.js
@@ -2,6 +2,7 @@
// Template version: 1.3.1
// see http://vuejs-templates.github.io/webpack for documentation.
+
const path = require("path");
module.exports = {
@@ -39,7 +40,7 @@
}
},
// Various Dev Server settings
- host: "192.168.10.8", // can be overwritten by process.env.HOST
+ host: "0.0.0.0", // can be overwritten by process.env.HOST
port: 80, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
autoOpenBrowser: true,
errorOverlay: true,
@@ -59,7 +60,8 @@
*/
// https://webpack.js.org/configuration/devtool/#development
- devtool: "cheap-module-eval-source-map",
+ // devtool: "cheap-module-eval-source-map",source-map
+ devtool: "source-map",
// If you have problems debugging vue-files in devtools,
// set this to false - it *may* help
--
Gitblit v1.9.3