浏览代码

docs: tips for set port

Pan 6 年之前
父节点
当前提交
d482e0bb9f
共有 1 个文件被更改,包括 3 次插入0 次删除
  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/