I noticed when installing Tailwind with -D (devDependencies) based on their documentation, my Tailwind did not work on my projects (React,NextJs). Later I need to uninstall and reinstall w/o -D just so the package will be in the dependencies part of pacakage.json.
I just want to know the reason behind it, because other tutorials they will use the -D and it works.