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

-10
View File
@@ -1,10 +0,0 @@
import { twMerge } from "tailwind-merge";
/**
* 合并 Tailwind CSS 类名,自动处理冲突
* @param classes - 要合并的类名
* @returns 合并后的类名字符串
*/
export function cn(...classes: (string | undefined | null | false)[]): string {
return twMerge(classes.filter(Boolean).join(" "));
}