Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1909018 commit c8039a5Copy full SHA for c8039a5
vue.config.js
@@ -7,10 +7,13 @@ function resolve(dir) {
7
}
8
9
const name = defaultSettings.title || 'vue Element Admin' // page title
10
+
11
// If your port is set to 80,
12
// use administrator privileges to execute the command line.
13
// For example, Mac: sudo npm run
-const port = 9527 // dev port
14
+// You can change the port by the following method:
15
+// port = 9527 npm run dev OR npm run dev --port = 9527
16
+const port = process.env.port || process.env.npm_config_port || 9527 // dev port
17
18
// All configuration item explanations can be find in https://cli.vuejs.org/config/
19
module.exports = {
0 commit comments