TailwindCSS support? #863
Replies: 2 comments 4 replies
-
The following happened:
So, it kind of works. Is there a way to let |
Beta Was this translation helpful? Give feedback.
-
There is now a tailwind example: https://github.com/DioxusLabs/dioxus/tree/master/examples/tailwind |
Beta Was this translation helpful? Give feedback.
-
Hi, I am looking for a way to use TailwindCSS with Dioxus. Below is what I have gathered.
tailwindcss CLI: https://tailwindcss.com/blog/standalone-cli. Run
tailwindcss -i index.css -o dist/index.css -w
.tailwind.config.js at the project root:
The text stays black.
dist/index.css
does not have the classtext-red-700
. When I change the TailwindCSS class, tailwindcss watch is not triggered. I guessclass:
is not recognized by the watcher. It seems that regex for the class can be configured, but I didn't find where it can be done.Any advice?
Beta Was this translation helpful? Give feedback.
All reactions