How to install daisyUI in a React Router project
Create a new React Router project in the current directory
npm create react-router@latest ./
npm install daisyui@latest
Put Tailwind CSS and daisyUI in your CSS file (and remove old styles)
@import "tailwindcss";
@plugin "daisyui";
Now you can use daisyUI class names!