Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
HAML support #399
Thanks for the heads up, @addyosmani . Turns out using HAML is as easy as this:
Then, just below
and , inside of the
Works great, all you have to do is port the original index.html - or remove it entirely.
I don't know if this will work on every case, like build processes or tests, but it works with the live-reload feature.
@nicolai86, thanks for posting this! I notice the reload section should also be changed to look something like this:
In case this helps others, I converted the html files that
@vlad, I've tried adding this to my yeoman project and get a fatal error:
Task "haml" not found.
I followed your config exactly and I've tried it in the past and it worked just fine. Any pointers for where I'm going wrong? Here's the gist:
ps: I installed grunt-haml with npm.
@pablox-cl since yeoman depends on grunt. The gruntfile contains all the tasks that will be run or reload when you run yeoman server.
it's not officially pronounced but actually you can make it work. Read the comments above. Hope someone have time to gather everything in one post :)
Using HAML/SASS/CoffeeScript, based on the latest
and then referring to
You will need to use
The biggest change was getting usemin/requirejs to look in
It's unlikely yeoman will get direct integrated HAML support. The plugin works pretty well though and is seamless once set up. I really need to update this project for latest libs.
Sent from my iPhone