Open teotenn opened 5 days ago
Including the Tailwind CSS link shouldn't be necessary, that will just double things up.
What is teoten.ttblog.my-grammar/class-name->garden
? I would expect that to be girouette.tw.default-api/tw-v3-class-name->garden
You say the resulting CSS is very small, but what is in it? Is it just the preflight and base rules, is it picking up any of the classes from your code?
Hi, first of all, thanks a lot for the package, I've been using it with cljs reagent and it works excellent. However I cannot make it work for a static site generated with clojure.
This is more a question than an issue, what would be the recommended approach to build the css styles for a static generator?
As mentioned, I am building with clojure and thus, at the beginning I thought of allowing
girouette.processor
to watch on thesrc
path, as the demo example. However, it does not seem to work correctly.What I have so far:
The
my_css.cljc
andmy_grammar.cljc
from the demo example. Also the content ofapp.cljc
ofsimple-example
is used via hiccup merged after the following layout page, which is served via ring jetty during development, and converted to a html page during building.Here I have experimented by commenting out either the tailwind link or the girouette only, and I get different effects each combination. The best so far is allowing both.
However, my resulting css generated by girouette is very small (220 lines) compared to the one generated by the demo example (522 lines) with reagent cljs. Also the final page looks way different that the one generated with the same code in cljs (your demo example).
My alias is not different from the one of the demo example either, maybe the problem is there?
Any advices or guidance on this?
Sorry if something is not clear, I am not experimented front end developer and this is more of a personal project. Feel free to ask any details I am omitting. And thanks in advance for your time and patience.