【问题标题】:Grails Twitter Bootstrap and Google Maps IntegrationGrails Twitter Bootstrap 和谷歌地图集成
【发布时间】:2012-06-22 21:35:41
【问题描述】:

我正在使用 Grails 构建一个 Web 应用程序并希望实现一个谷歌地图。我正在使用 Twitter Bootstrap。

因此,我将以下行放入我的 BuildConfig.groovy:

compile ":twitter-bootstrap:2.0.2.25"
runtime ":fields:1.1"

为了在我的代码中使用谷歌地图,我写道:

<div class="map" id="mapCanvas">

问题是,当使用 Twitter Bootstrap 时,这条线不会出现,但在不使用 Twitter Bootstrap 时会出现。解决方案是在 twitter 引导 css 中进行一些更改,但在 Grails 中我无法编辑它,因为它是一个插件。那我该怎么办?

【问题讨论】:

    标签: css google-maps grails twitter-bootstrap


    【解决方案1】:

    plugin documentation 告诉你如何使用 less 自定义 CSS。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-02-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-01-01
      • 1970-01-01
      • 2014-11-20
      相关资源
      最近更新 更多