258e55b78a
- 添加项目基础配置文件 package.json、tsconfig.json 和 vite.config.ts - 配置 Git 忽略规则 .gitignore 包含构建产物和开发环境文件 - 设置 VSCode 推荐插件 extensions.json 包含 Volar、Tauri 和 Rust 分析器 - 创建项目主页 index.html 和应用入口 src/main.ts - 添加 README.md 包含项目介绍和推荐的 IDE 设置 - 安装依赖包包括 @tauri-apps/api、vue、vue-router 等核心库 - 生成 pnpm 锁定文件 pnpm-lock.yaml 确保依赖版本一致性
26 lines
661 B
JSON
26 lines
661 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2020",
|
|
"useDefineForClassFields": true,
|
|
"module": "ESNext",
|
|
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
"skipLibCheck": true,
|
|
|
|
/* Bundler mode */
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"noEmit": true,
|
|
"jsx": "preserve",
|
|
|
|
/* Linting */
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noFallthroughCasesInSwitch": true
|
|
},
|
|
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
|
|
"references": [{ "path": "./tsconfig.node.json" }]
|
|
}
|