Это my lib/utils.ts
PrettyPrint-Override ">
Код: Выделить всё
import { twMerge } from "tailwind-merge"
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs))
}
Код: Выделить всё
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/**/*.{js,jsx,ts,tsx}",
],
theme: {
extend: {},
},
plugins: [],
corePlugins: {
/* Disable preflight so that it doesn't mess up my design */
preflight: false,
}
}
Подробнее здесь: https://stackoverflow.com/questions/796 ... ooks-weird
Мобильная версия