Fix user-template-next: add baseUrl and include lib/utils.ts
This commit is contained in:
parent
d4af469207
commit
fa03fb0f3d
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -26,6 +26,7 @@ eggs/
|
|||
.eggs/
|
||||
lib/
|
||||
!frontend/src/lib/
|
||||
!user-template-next/src/lib/
|
||||
lib64/
|
||||
parts/
|
||||
sdist/
|
||||
|
|
|
|||
6
user-template-next/src/lib/utils.ts
Normal file
6
user-template-next/src/lib/utils.ts
Normal 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));
|
||||
}
|
||||
|
|
@ -17,6 +17,7 @@
|
|||
"name": "next"
|
||||
}
|
||||
],
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"@/*": ["./src/*"]
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user