修复打开两次
Showing
2 changed files
with
2 additions
and
2 deletions
... | @@ -5,7 +5,7 @@ | ... | @@ -5,7 +5,7 @@ |
5 | "author": "Pan <panfree23@gmail.com>", | 5 | "author": "Pan <panfree23@gmail.com>", |
6 | "license": "MIT", | 6 | "license": "MIT", |
7 | "scripts": { | 7 | "scripts": { |
8 | "dev": "vue-cli-service serve", | 8 | "dev": "vue-cli-service serve --open", |
9 | "build:prod": "vue-cli-service build", | 9 | "build:prod": "vue-cli-service build", |
10 | "build:stage": "vue-cli-service build --mode staging", | 10 | "build:stage": "vue-cli-service build --mode staging", |
11 | "preview": "node build/index.js --preview", | 11 | "preview": "node build/index.js --preview", | ... | ... |
... | @@ -43,7 +43,7 @@ module.exports = { | ... | @@ -43,7 +43,7 @@ module.exports = { |
43 | productionSourceMap: false, | 43 | productionSourceMap: false, |
44 | devServer: { | 44 | devServer: { |
45 | port: port, | 45 | port: port, |
46 | open: true, | 46 | open: false, |
47 | overlay: { | 47 | overlay: { |
48 | warnings: false, | 48 | warnings: false, |
49 | errors: true | 49 | errors: true | ... | ... |
-
Please register or sign in to post a comment