1.更改一下webpack端口配置就可以了

两个页面:

页面1.config中的index.js页面  更改下port:端口

页面2.package.json页面 更改端口

 "scripts": {
        "dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js --open --port 9090",
        "start": "npm run dev",
        "lint": "eslint --ext .js,.vue src",
        "build": "gulp"
    },

相关文章:

  • 2021-09-11
  • 2021-09-05
  • 2021-09-18
  • 2021-10-30
  • 2022-01-20
  • 2021-11-21
  • 2021-06-26
猜你喜欢
  • 2021-11-17
  • 2022-01-07
  • 2021-10-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案