vue3修改端口
第一步找到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"
}
}
···
Sometimes you need to applaud yourself