Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
web-monitor
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
web-monitor
Commits
b9202ade
Commit
b9202ade
authored
Jul 01, 2019
by
Stephy Cat
Committed by
花裤衩
Jul 01, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: allow dynamic set port (#389)
parent
737d9fc9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
vue.config.js
vue.config.js
+4
-1
No files found.
vue.config.js
View file @
b9202ade
...
...
@@ -7,10 +7,13 @@ 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
// You can change the port by the following methods:
// port = 9528 npm run dev OR npm run dev --port = 9528
const
port
=
process
.
env
.
port
||
process
.
env
.
npm_config_port
||
9528
// dev port
// All configuration item explanations can be find in https://cli.vuejs.org/config/
module
.
exports
=
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment