tsg icon indicating copy to clipboard operation
tsg copied to clipboard

Having trouble using this

Open timkindberg opened this issue 6 years ago • 3 comments

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?

timkindberg avatar Jun 26 '18 02:06 timkindberg

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! 🙌🏻

stursby avatar Sep 28 '18 14:09 stursby

@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. 😸

davidohlin avatar Sep 29 '18 19:09 davidohlin

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?

kristiansp avatar Dec 26 '18 10:12 kristiansp