Skip to content

Commit 41318aa

Browse files
committed
docs: tips for set port
1 parent 90af74e commit 41318aa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

vue.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ function resolve(dir) {
77
}
88

99
const name = defaultSettings.title || 'vue Element Admin' // 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
1013
const port = 9527 // dev port
1114

1215
// All configuration item explanations can be find in https://cli.vuejs.org/config/

0 commit comments

Comments
 (0)