Ver Fonte

运行后自动开启页面

Zhengy há 6 anos atrás
pai
commit
6aa51d4ae5
1 ficheiros alterados com 1 adições e 1 exclusões
  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-