feat(dev): 配置 VSCode 开发环境并优化项目设置

This commit is contained in:
严浩
2025-09-09 11:52:41 +08:00
parent 5f082a9bc9
commit 8a0a98fc11
10 changed files with 2522 additions and 886 deletions

View File

@@ -1,4 +1,5 @@
{
"packageManager": "pnpm@10.15.1",
"name": "vue-ts-example-2025",
"version": "0.0.0",
"private": true,
@@ -7,7 +8,7 @@
"node": "^20.19.0 || >=22.12.0"
},
"scripts": {
"dev": "vite",
"dev": "vite --port 4730 --host --strictPort",
"build": "run-p type-check \"build-only {@}\" --",
"preview": "vite preview",
"test:unit": "vitest",
@@ -52,4 +53,4 @@
"vitest": "^3.2.4",
"vue-tsc": "^3.0.4"
}
}
}