【问题标题】:HTML5-Boilerplate, Compass, Haml and 960 Grid for Rails 3.1.x用于 Rails 3.1.x 的 HTML5 样板、指南针、Haml 和 960 Grid
【发布时间】:2011-12-31 05:52:39
【问题描述】:

我一直在为 Rails 3.1.x 寻找一个可行的解决方案,以规范的方式(即以适合新资产管道结构的方式)添加 HTML5 Boilerplate、Haml、Compass 和 960.gs 支持。这在 Rails 3.0.x 中使用以下 gems 很容易实现:

  • haml-rails
  • 指南针
  • html5-样板
  • compass-960-plugin

我在这里和其他地方查看了几个问题/答案。但是,我无法找到任何可靠的信息,而且我尝试将其拼凑在一起的方式充其量似乎是“被破解”(从坏的意义上说)。对于如何实现这一点,我将不胜感激。

【问题讨论】:

    标签: ruby-on-rails haml compass-sass 960.gs html5boilerplate


    【解决方案1】:

    【讨论】:

    【解决方案2】:

    rails html5 样板可用:https://github.com/russfrisch/h5bp-rails

    这是 Rails 3.1 上指南针的要点。* https://gist.github.com/1184843

    这是一个包含 960 和样板的 rails 3.1 模板:https://github.com/scholarslab/rails31-template

    【讨论】:

      【解决方案3】:

      http://compass.handlino.com/ 这个小应用程序至少对列出的三个功能很有用。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2012-01-31
        • 2011-11-21
        • 2011-09-13
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2010-12-30
        • 1970-01-01
        相关资源
        最近更新 更多