Browse Source

docs: tips for set port

Pan 6 years ago
parent
commit
d482e0bb9f
1 changed files with 3 additions and 0 deletions
  1. 3 0
      vue.config.js

+ 3 - 0
vue.config.js

@@ -7,6 +7,9 @@ function resolve(dir) {
7
 }
7
 }
8
 
8
 
9
 const name = defaultSettings.title || 'vue Admin Template' // page title
9
 const name = defaultSettings.title || 'vue Admin Template' // page title
10
+// If your port is set to 80,
11
+// use administrator privileges to execute the command line.
12
+// For example, Mac: sudo npm run
10
 const port = 9528 // dev port
13
 const port = 9528 // dev port
11
 
14
 
12
 // All configuration item explanations can be find in https://cli.vuejs.org/config/
15
 // All configuration item explanations can be find in https://cli.vuejs.org/config/