hello, is there a simple way to add tailwind-css to this example project? https://github.com/squint-cljs/squint/tree/main/examples/vite-react or in general in any squint project, i tried some ways(installing react as if it was a js project) but i couldnt make it work
Why would it be different from a JS project, except for syntax?
i dont know maybe i did something wrong, i will retry
i will stay in HTMX that i already know, i like backend/databases, maybe react if needed sometime later, thank you for helping me : )
👍
i made it work i don't know if i had many things wrong, but i had one wrong thing for sure :
#jsx[:p {:className ["text-red-400 text-lg"]} "This is a paragraph"] ;;works
#jsx[:p {:className [:text-red-400 :text-lg]} "This is a paragraph"] ;;doesnt work
i was using class names like this, and didn't work, i opened an issue in github, for now its fine, i will just use 1 string with all class namesyeah this doesn't work currently, where did you have the idea that it should work?
hiccup, previous HTMX project, it works with keywords is simpler
it was working so i was used into using class names as keywords
but i was using :class not className , in react :className is used
right, we can support this I guess
the currently supported syntax is {:className "text-red-400 text-lg"} without the vector
yes thank you, sometimes i get anxious if i will be able to use js libraries in simple way, this is small thing, i thought it was much bigger problem, now all working, thank you : )