TVke / react-native-tailwindcss

A react-native style system based on TailwindCSS
https://tvke.github.io/react-native-tailwindcss/
MIT License
565 stars 34 forks source link

tailwind config js doesnt work properly #44

Closed infothien closed 4 years ago

infothien commented 4 years ago

Hi there, first of all I would like to say it was a very useful and great lib support tailwind for react native. Thank you

I got a small issue and dont know why. I defined my tailwind.config.js like this

tailwind_config_js_—_dentsu

but it doesnt actually work as my expectation

Screenshot_2020_07_29_20_05

Expectation: only have the bgRed in this case.

My environment: "react": "16.13.1", "react-native": "0.63.2", _ "react-native-tailwindcss": "^1.1.10"

Wonder did I miss something, hope to get your response soon. Thanks

TVke commented 4 years ago

Hi @infothien

I understand the expected behaviour. This is a very hard thing to do and that is why I choose to put only suggestions from the standard config file as possibilities.

Hope this explains it a bit

greetings Thomas

infothien commented 4 years ago

Thank you ! I got it then I will close this one for now maybe @TVke