8 lines
244 B
TypeScript
8 lines
244 B
TypeScript
import { type ClassValue, clsx } from 'clsx'
|
|
import { twMerge } from 'tailwind-merge'
|
|
|
|
// shadcn-vue 표준 유틸: Tailwind 클래스 병합 (충돌 자동 해결)
|
|
export function cn(...inputs: ClassValue[]) {
|
|
return twMerge(clsx(inputs))
|
|
}
|