修改package.json的启动命令

This commit is contained in:
编码猿
2025-09-18 04:40:50 +08:00
parent 75c50d8c97
commit 064d368ae4
5 changed files with 21 additions and 14 deletions

View File

@@ -7,8 +7,9 @@
"node": "^20.19.0 || >=22.12.0"
},
"scripts": {
"dev": "concurrently \"npm run build\" \"npm run serve\"",
"serve": "vite preview --port 1300 --strictPort",
"dev": "vite",
"dep": "concurrently \"npm run build\" \"npm run preview\"",
"preview": "vite preview --port 1300 --strictPort",
"build": "vite build --watch",
"type-check": "vue-tsc --build"
},