Closed alexribeirodesa closed 2 years ago
Make sure the path to all your react files is specified in content
config in tailwind.config.js
content: [
'./pages/**/*.{html,js,jsx,ts,tsx}',
'./components/**/*.{html,js,jsx,ts,tsx}',
'./anything/**/*.{html,js,jsx,ts,tsx}',
],
If this doesn't fix the issue, please share a small repo so I can reproduce the problem
the solution worked very well for me ! thanks. i hope if you can add that somewhere in the Docs so that others not repeat the same mistake.
Well... this is not about daisyUI. It's a necessary Tailwind CSS config and it's already documented on the official Tailwind CSS website.
here a very simple react+nextjs component to draw the avatar using the code from sample with no modification:
export function Avatar(props) {
}
the result is this:
I'm doing something wrong?? I miss something??
thx