vue3修改端口

时间:2021-02-16 10:08:58   收藏:0   阅读:200

第一步找到package.json文件

dev修改为

"dev": "vite --port 8085"
{
  "name": "web",
  "version": "0.0.0",
  "scripts": {
    "dev": "vite --port 8085",
    "build": "vite build"
  },
  "dependencies": {
    "vue": "^3.0.4"
  },
  "devDependencies": {
    "vite": "^1.0.0-rc.13",
    "@vue/compiler-sfc": "^3.0.4"
  }
}
···

原文:https://www.cnblogs.com/tuziling/p/14405839.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!