Ruby-independent HAML and SASS alternative

Forgive my ignorance of these two technologies, which I just found out about them this morning. Read about them and look at what I would like to use, but I'm not a Ruby developer.

Is there an equivalent without Ruby for SASS and / or HAML ?

Or maybe I'm asking the wrong question completely, but basically I would like to use them in my C # project.

+6
sass haml
source share
3 answers

Since most of Haml is that you can focus on the actual code in your templates and less on markup, it is bound to a specific language. Fortunately, there are versions for most popular languages, including NHaml for .NET .

Sass is its own language, and its output is no longer dependent on Ruby - you only need Ruby to run the compiler.

+4
source share

There is also the sass equivalent in PHP: LESS (dot) org

What can satisfy your needs is that LESS has been ported to javascript as less.js:

https://github.com/cloudhead/less.js/

This means that it is independent of any server language.

+1
source share
+1
source share

All Articles