slim
slim copied to clipboard
Problem with slim template, but it works fine in erb
Hi! I've found very strange behaviour of slim templates. After conversion some of html/erb pages to slim - it looks terrible. As an example you can try to convert https://github.com/tailwindtoolbox/Nordic-Store/blob/master/index.html to slim (using erb2slim utility from html2slim gem or any other tool) and compare result with original source, looks different
Is there any utility to convert slim back to erb?
I think it is because of using colon in tailwind.css, am I right? If yes - is it possible to use colon in slim?
@alec-c4 I have a PR open to add tailwind support here: #841
@thewatts AWESOME!!! Thanks a lot!
@thewatts I'll have this merged soon. I'd like to get some of the warnings addressed with the tests first if possible.
It seems this has been resolved since #841 was merged?