From 41318aa0d932847b835f4274182eff62e7ed21f2 Mon Sep 17 00:00:00 2001 From: Pan Date: Sun, 5 May 2019 15:02:27 +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 30d40ea6..aeaeb0e4 100644 --- a/vue.config.js +++ b/vue.config.js @@ -7,6 +7,9 @@ function resolve(dir) { } const name = defaultSettings.title || 'vue Element Admin' // 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 = 9527 // dev port // All configuration item explanations can be find in https://cli.vuejs.org/config/