Vue 如何修改默认启动端口、浏览器自动访问

Vue修改默认启动端口的几种方法

module.exports = defineConfig({
  transpileDependencies: true,
  devServer:{
  host:'localhost',
  port:8088,
  open:true
 }
})

posted @ 2024-01-10 17:57  Raymon*码记  阅读(395)  评论(0)    收藏  举报