Browse Source

运行后自动开启页面

Zhengy 6 years ago
parent
commit
6aa51d4ae5
1 changed files with 1 additions and 1 deletions
  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-