I can't install
I was following https://stunningui.design/installation and it seems like npm install tailwindcss clsx tailwind-merge doesnt to anything.
Also can you specify what file I'm supposed to add this code to?
import { type ClassValue, clsx } from 'clsx'
import { twMerge } from 'tailwind-merge'
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs))
}
thank you.
Hi @Emirhan-7274 actually you can put to anywhere, but for utilitis in this case you can see the stunning-ui put in /lib/utils https://github.com/xiaoluoboding/stunning-ui/blob/main/lib/utils.ts
And also for shadcn-vue is based on tailwindcss v3 please check for this installation https://v3.tailwindcss.com/docs/installation
and tailwind-merge for tailwind v3 version https://github.com/dcastil/tailwind-merge/tree/v2.6.0
So you can running this npm install tailwindcss@3 clsx [email protected]