DEV Community

Discussion on: How to Setup Tailwind 3 on Rails 7

 
software_writer profile image
Akshay Khot

Hey Bryan,

Did you restart the Tailwind CLI build process after making changes to the tailwind.config.js file?

The @tailwindcss/forms plugin resets the default form styles to make it easier to style form elements with utility classes. So if you are not seeing any form styles, try adding some form utility classes and see if those show up.

Also, what specific error are you getting with the forms?

Thread Thread
 
bryanbeshore profile image
Bryan Beshore

Looks like restarting the Tailwind CLI build process made all the difference. Didn't realize that I needed to rerun that each time. Many thanks!

Thread Thread
 
software_writer profile image
Akshay Khot

Good to know that solved your issue. Glad to help 😀