Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Two browser tabs after "npm run dev" #2944

Closed
jgrandar opened this issue Jan 15, 2020 · 4 comments
Closed

Two browser tabs after "npm run dev" #2944

jgrandar opened this issue Jan 15, 2020 · 4 comments

Comments

@jgrandar
Copy link

It happens on a project I am working on, today I started a new project with the same issue, any clue what's going on?

@PanJiaChen
Copy link
Owner

update vue-cli

vuejs/vue-cli#4088

@jgrandar
Copy link
Author

I was using @vue/cli@4.0.5 instead of 3.8.3, I have updated to @vue/cli@4.1.2 right now but still two browser tabs open.

@lclarkdwain
Copy link

@jgrandar not just the global @vue/cli, you must update @vue/cli-service to latest version or after 3.8.3

"devDependencies": {
    "@babel/core": "7.0.0",
    "@babel/register": "7.0.0",
    "@types/jest": "^23.1.4",
    "@types/js-cookie": "^2.2.4",
    "@types/nprogress": "^0.2.0",
    "@vue/cli-plugin-babel": "3.6.0",
    "@vue/cli-plugin-eslint": "^3.9.1",
    "@vue/cli-plugin-typescript": "^4.1.2",
    "@vue/cli-plugin-unit-jest": "3.6.3",
    "@vue/cli-service": "^4.1.2",

@netSharks
Copy link

if using @vue/cli@3.x,you can modify the following:

  1. vue.config.js devServer open:false
    image
  2. package.json "dev": "vue-cli-service serve --open"
    image

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants