feat: 更新样式管理和依赖配置

- 移除旧的 CSS 文件,改用 Tailwind CSS 进行样式管理
- 更新 tsconfig 和 Vite 配置以支持路径别名
- 添加 Node 类型定义以增强 TypeScript 支持
This commit is contained in:
zhongyidian committed 2026-01-23 17:41:02 +08:00
1 parent 8b32e84206
commit 33121e3f6d
19 files changed
+100 -69

No files matched your search

+6
View File
@@ -1,7 +1,13 @@
import { fileURLToPath } from "node:url";
import react from "@vitejs/plugin-react";
import { defineConfig } from "vite";
// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
resolve: {
alias: {
"@": fileURLToPath(new URL("./src", import.meta.url)),
},
},
});