1- install Tailwind CSS IntelliSense extension
2- create this file .vscode/settings.json
3- copy paste this inside of settings.json
| import { clsx, type ClassValue } from "clsx"; | |
| import { twMerge } from "tailwind-merge"; | |
| export function cn(...inputs: ClassValue[]) { | |
| return twMerge(clsx(inputs)); | |
| } | |
| // eslint-disable-next-line @typescript-eslint/no-explicit-any | |
| export type WithoutChild<T> = T extends { child?: any } ? Omit<T, "child"> : T; | |
| // eslint-disable-next-line @typescript-eslint/no-explicit-any |