mirror of
https://github.com/LHY0125/Gobang-Game.git
synced 2026-06-29 00:45:55 +08:00
e395ea424b
App.tsx 添加 menu/game/replay 三页面路由切换,MainMenu 新增 onReplayStart 属性区分对局与回放入口。App.css 实现经典木纹 视觉风格(深棕底色、米黄文字、皮革纹理按钮),index.css 基础 重置。修复 tsconfig 中 erasableSyntaxOnly 无效选项并安装 @types/node。
24 lines
559 B
JSON
24 lines
559 B
JSON
{
|
|
"compilerOptions": {
|
|
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
|
|
"target": "es2023",
|
|
"lib": ["ES2023"],
|
|
"module": "esnext",
|
|
"types": ["node"],
|
|
"skipLibCheck": true,
|
|
|
|
/* Bundler mode */
|
|
"moduleResolution": "bundler",
|
|
"allowImportingTsExtensions": true,
|
|
"verbatimModuleSyntax": true,
|
|
"moduleDetection": "force",
|
|
"noEmit": true,
|
|
|
|
/* Linting */
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noFallthroughCasesInSwitch": true
|
|
},
|
|
"include": ["vite.config.ts"]
|
|
}
|