Tailwind css classes dont work properly #17611
-
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 9 replies
-
What is the desired behavior? Which classes are not working for you? Could you provide a git repo that reproduces the unexpected behavior please? |
Beta Was this translation helpful? Give feedback.
-
I copied my html into play tailwind and the code is working. That must mean something is wrong from my side. What could effect the tailwind config or lack of it ?. |
Beta Was this translation helpful? Give feedback.
-
i updated my style.css with added @theme options forn text, color, font, radius etc. And the result is still the same. |
Beta Was this translation helpful? Give feedback.
-
Okay i just solved the problem. I had to make a script:
and put it into the package.json. Then i typed into the terminal npm run build-css and after that npm run watch-css. Now all the styling is showing and aplying. Sorry to bother you guys but i hope this will be a solution for someone with similar problems. |
Beta Was this translation helpful? Give feedback.
Okay i just solved the problem. I had to make a script:
and put it into the package.json. Then i typed into the terminal npm run build-css and after that npm run watch-css. Now all the styling is showing and aplying. Sorry to bother you guys but i hope this will be a solution for someone with similar problems.