Bläddra i källkod

docs: tips for set port

Pan 6 år sedan
förälder
incheckning
d482e0bb9f
1 ändrade filer med 3 tillägg och 0 borttagningar
  1. 3 0
      vue.config.js

+ 3 - 0
vue.config.js

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