Tailwind CSS Compatibility #360
-
Was wondering if this library is compatible with Tailwind CSS? Has anyone ran into any issues? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
I've installed Tailwind and although the overall font of my App changed, I can't seem to have my components render correctly with the Tailwind styling syntax of using (className=" "). Below I'm just trying to see if it'll render an underlined text but doesn't seem to work, any tips would be greatly appreciated! |
Beta Was this translation helpful? Give feedback.
-
This Maybe Cause tailwind didn't link well with your page , try using liking tailwinde library instead of installing it , i know it's not the best way but it's still effective on mobile projects : |
Beta Was this translation helpful? Give feedback.
-
I was able to figure it out! I just had to add the path of the components to the tailwind.config.cjs in order for it to render with flex layout. Thanks for the alt solution! |
Beta Was this translation helpful? Give feedback.
This Maybe Cause tailwind didn't link well with your page , try using liking tailwinde library instead of installing it , i know it's not the best way but it's still effective on mobile projects :
https://tailwindcss.com/docs/installation/play-cdn