1.新建vue.config.js文件(和package.json同一目录)

2.复制以下代码:

module.exports = {
    devServer:{
        port:3333, // 启动端口
        open:true  // 启动后是否自动打开网页
    }
}

 

相关文章:

  • 2021-12-10
  • 2021-09-25
  • 2022-12-23
  • 2021-11-23
  • 2021-07-10
  • 2021-07-20
  • 2021-09-14
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-13
  • 2021-07-12
  • 2021-08-06
  • 2022-12-23
  • 2021-11-17
  • 2022-12-23
相关资源
相似解决方案