You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 9, 2017. It is now read-only.
Joshua Ogle edited this page Jan 28, 2015
·
1 revision
Follow these steps:
Remove this line from your package.json (the version number may be different)...:
"gulp-ruby-haml": ...
... and add this one in its place (and update the version number if there is a new one:
"gulp-slim": "~0.0.13",
Run npm install from your terminal
Swap out the require('gulp-ruby-haml') at the top of the Gulpfile with gulp-slim change haml to slim in the views and watch tasks. gulp-slimhas some options you might like to use too.
Change the file extensions in /source/views from .haml to .slim and convert your markup.
That's it!
By the way, the Slim docs are a great resource, and HTML2Slim is a really handy way to convert templates easily.