tsg
tsg copied to clipboard
Having trouble using this
So I have a ~/projects/foo
where I currently have my tailwind.config.js and my exported styles.css built from tailwind.
I cloned this project to ~/projects/tsg
and inside the folder I ran node index ../foo/tailwind.config.js ../foo/styles.css
and I'm not sure what happened... does it export some files? I don't see any extra files generated. What is supposed to happen?
Yea, same here. I followed your instructions in the README and not getting any output (tailwind-generated.css
) file. What are we missing? Thanks for the awesome project BTW! 🙌🏻
@timkindberg @stursby Maybe you figured it out, but the documentation is off here. The correct command is node index build <config> <generated css>
. In your case Tim, it's node index build ../foo/tailwind.config.js ../foo/styles.css
.
I opened a pull request to fix the documentation. 😸
I must also be doing something wrong … I get it to it parse my config file, and when opening the HTML, it shows the right configurations, and values in the lables, it's just doesn't apply the actual styles. Meaning, for all the colors, there is just a white rectangle, with the color hex value correctly printed below.
How do I get it to actually apply the styles?