【发布时间】:2012-02-05 12:01:35
【问题描述】:
在我的 Play 2.0 项目中,我已经集成了 Bootstrap(因为文件较少,Play 可以即时编译它们)但现在我找到了 Boilerplate,我认为使用它也是一个好主意。
经过一番谷歌搜索后,我发现了这个: http://www.quora.com/Is-Bootstrap-a-complement-OR-an-alternative-to-HTML5-Boilerplate-or-viceversa
所以,看起来集成应该是可能的,甚至有 2 个项目尝试这样做。唯一的问题是他们做的事情完全不同,我不确定哪一个是正确的。
https://gist.github.com/1422879 在其当前状态下似乎只是忽略了来自 Boilerplate 的 styles.css 文件。它已重命名为 h5bp.css,但我看不到任何地方都包含 h5bp.css。
另一方面,https://github.com/elgreg/html5-boilerstrap 使用它们,只是将styles.css 文件分成两部分(h5bp_normalize.css 和styles.css,bootstrap.css 包含在它们之间)。但是这样一来,Boilerplate 和 Bootstrap 是不是有冲突呢?
所以我有点迷路了。在这种情况下,正确的处理方式是什么?
【问题讨论】:
-
您希望整合 html5Boilerplate 的哪一部分?
标签: css html playframework twitter-bootstrap html5boilerplate