Skip to content

npm run serve启动项目后,浏览器会打开两个 http://localhost:8080 窗口 #4129

Closed
@PursuitLife

Description

@PursuitLife

Version

3.8.2

Reproduction link

http://localhost:8080

Environment info

windows 64位操作系统

Steps to reproduce

1、vue create project 创建项目
2、配置项目启动端口:devServer:{
port:"8080",
open:true,
}
3、npm run serve 启动项目

What is expected?

npm run serve 启动项目时只打开一个 http://localhost:8080 窗口

What is actually happening?

npm run serve 启动项目时打开两个 http://localhost:8080 窗口

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions