aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/tsconfig.app.json
diff options
context:
space:
mode:
authorHsiangNianian <i@jyunko.cn>2026-01-13 15:19:50 +0800
committerHsiangNianian <i@jyunko.cn>2026-01-13 15:19:50 +0800
commit94bbf11e4e37b880b111316f1af8006b05d38e2a (patch)
tree090908cd31d387c4cda683582719c3492b2bf31f /ui/tsconfig.app.json
parent7ca72b953e1e42659376016e0eb048593e31ed6d (diff)
downloadDropOut-94bbf11e4e37b880b111316f1af8006b05d38e2a.tar.gz
DropOut-94bbf11e4e37b880b111316f1af8006b05d38e2a.zip
feat: Initialize Svelte application with Tailwind CSS and Tauri integration
- Added main application structure in App.svelte with a sidebar and main content area. - Implemented game launch functionality using Tauri's invoke API. - Included SVG icons for Vite and Svelte in the assets. - Set up Tailwind CSS for styling in app.css. - Created a Counter component for demonstration purposes. - Configured TypeScript support with appropriate tsconfig files. - Established Vite configuration for building the application.
Diffstat (limited to 'ui/tsconfig.app.json')
-rw-r--r--ui/tsconfig.app.json21
1 files changed, 21 insertions, 0 deletions
diff --git a/ui/tsconfig.app.json b/ui/tsconfig.app.json
new file mode 100644
index 0000000..31c18cf
--- /dev/null
+++ b/ui/tsconfig.app.json
@@ -0,0 +1,21 @@
+{
+ "extends": "@tsconfig/svelte/tsconfig.json",
+ "compilerOptions": {
+ "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
+ "target": "ES2022",
+ "useDefineForClassFields": true,
+ "module": "ESNext",
+ "types": ["svelte", "vite/client"],
+ "noEmit": true,
+ /**
+ * Typecheck JS in `.svelte` and `.js` files by default.
+ * Disable checkJs if you'd like to use dynamic types in JS.
+ * Note that setting allowJs false does not prevent the use
+ * of JS in `.svelte` files.
+ */
+ "allowJs": true,
+ "checkJs": true,
+ "moduleDetection": "force"
+ },
+ "include": ["src/**/*.ts", "src/**/*.js", "src/**/*.svelte"]
+}