Skip to content

Commit d482e0b

Browse files
committed
docs: tips for set port
1 parent 16d39eb commit d482e0b

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 Admin Template' // 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 = 9528 // dev port
1114

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

0 commit comments

Comments
 (0)