feat: 优化项目目录结构
This commit is contained in:
9
apps/frontend/lib/utils.ts
Normal file
9
apps/frontend/lib/utils.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { clsx, type ClassValue } from "clsx"
|
||||
import { twMerge } from "tailwind-merge"
|
||||
import basex from "base-x"
|
||||
|
||||
export function cn(...inputs: ClassValue[]) {
|
||||
return twMerge(clsx(inputs))
|
||||
}
|
||||
|
||||
export const base62 = basex('0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ');
|
||||
Reference in New Issue
Block a user