Search code examples
ruby-on-railshtml5boilerplatemiddlemangoogle-web-starter-kit

How to incorporate Google's Web Starter Kit in a Middleman project?


Just found the Google's New Web Starter Kit today and I like it much.

BUT, how would I go about incorporating the baseline HTML, CSS/SASS, JS, etc... into a Middleman project?

I would imagine the answer would also apply to other frameworks like ASP.NET MVC, Ruby on Rails, etc....


Solution

  • Here's the steps I'm doing when incorporating framework to middleman.

    • Base HTML, I convert the base HTML to .haml and set this as my layout template.

    • Sass, JS, etc, put them in their respective directories (images/, stylesheets/)

    Have a look at Bootstrap starter kit for Middleman to give you an idea how to use a framework in Middleman. Hope this helps ;)