Przeglądaj źródła

运行后自动开启页面

Zhengy 6 lat temu
rodzic
commit
6aa51d4ae5
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      config/index.js

+ 1 - 1
config/index.js

@@ -15,7 +15,7 @@ module.exports = {
     // Various Dev Server settings
     host: 'localhost', // can be overwritten by process.env.HOST
     port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
-    autoOpenBrowser: false,
+    autoOpenBrowser: true,
     errorOverlay: true,
     notifyOnErrors: true,
     poll: false, // https://webpack.js.org/configuration/dev-server/#devserver-watchoptions-