Fix user-template-next: add baseUrl and include lib/utils.ts

This commit is contained in:
XPS\Micro 2026-01-30 23:28:11 +01:00
parent d4af469207
commit fa03fb0f3d
3 changed files with 8 additions and 0 deletions

1
.gitignore vendored
View File

@ -26,6 +26,7 @@ eggs/
.eggs/
lib/
!frontend/src/lib/
!user-template-next/src/lib/
lib64/
parts/
sdist/

View File

@ -0,0 +1,6 @@
import { clsx, type ClassValue } from "clsx";
import { twMerge } from "tailwind-merge";
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs));
}

View File

@ -17,6 +17,7 @@
"name": "next"
}
],
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]
}