Explorar el Código

docs: tips for set port

Pan hace 6 años
padre
commit
d482e0bb9f
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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/