Last active
November 10, 2015 07:47
-
-
Save g-ilham/8367bd06f0a5eba18594 to your computer and use it in GitHub Desktop.
devise erb to slim convert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
devise erb to slim convert | |
https://github.com/plataformatec/devise/wiki/How-To%3a-Create-Haml-and-Slim-Views | |
Create Slim views | |
We use a gem called 'html2slim' to create the Slim-views. | |
gem install html2slim | |
This package include a tool called erb2slim which can convert erb file to slim recursively. Option -d for delete the erb file after the convert finished. | |
erb2slim -d app/views/myfolder |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment