Bladeren bron

docs: tips for set port

Pan 6 jaren geleden
bovenliggende
commit
d482e0bb9f
1 gewijzigde bestanden met toevoegingen van 3 en 0 verwijderingen
  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/