Files
next-template/src/lib/utils.ts
T
siujamo 6ce8c703dc @
chore: initial Next.js template scaffold

Next.js 16 + React 19 + TypeScript 5 + Tailwind CSS 4 + shadcn/ui.
Includes layout components, pages (home, 404, error, loading),
hooks, types, and documentation.

@
2026-06-18 17:04:39 +08:00

7 lines
166 B
TypeScript

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