I am trying to use the tailwindcss plugin forms, so I've installed it via npm using npm install @tailwindcss/forms and added the dependency in the forms section of my tailwindconfig @tailwindcss/forms with plugins: [ require("@tailwindcss/forms") ]. According to https://github.com/tailwindlabs/tailwindcss-forms it must now be active, and it does seem to be installed - at least I don't get an error after starting the server. Hoewever, when styling some checkboxes e.g. with <input type="checkbox" class="rounded text-pink-500" /> the styles are not applied.
The trick was pretty simple for me. it required an individual installation for forms.
npm install @tailwindcss/forms - did the trick. Hope it helps someone!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With