From d482e0bb9f42c215d6ab531afefbeec3c473ec1e Mon Sep 17 00:00:00 2001 From: Pan Date: Sun, 5 May 2019 15:07:18 +0800 Subject: [PATCH] docs: tips for set port --- vue.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vue.config.js b/vue.config.js index be1b518..4ad716c 100644 --- a/vue.config.js +++ b/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/