kir-dev / konyha

https://konyha.kir-dev.sch.bme.hu/
2 stars 0 forks source link

Refactor class attachments in haml code #39

Closed triszt4n closed 3 years ago

triszt4n commented 3 years ago

Right now we have the classes attached to a div like this: .my-6.container.flex.flex-column What we need: div{class="my-6 container flex flex-column"} Reason: VS Code and RubyMine has Tailwind CSS class intellisense, which we should be able to use during development, so when you start writing a class, it can autocomplete.

triszt4n commented 3 years ago

I'm going to solve this issue once all the design issues are resolved.

triszt4n commented 3 years ago

After bit of a study on the internet, I've concluded, there is no smart and clean solution for this in Haml. (I've seen solutions only for PugJs, but that's used in NodeJs, so that's sadly not our way of using tailwind classes.) Can't get use of TailWind IntelliSense, sorry. Closing the issue.