groovydev / twitter-bootstrap-grails-plugin

Grails plugin for Twitter Bootstrap CSS framework resources
173 stars 92 forks source link

Bootstrap CSS created twice when LESS plugin installed #28

Closed melicin closed 10 years ago

melicin commented 12 years ago

The same issue (Issue #20) was closed a month ago but I'm having the same exact problem with the release 2.0.2.25:

"/splitpen/static/bundle-bundle_bootstrap_head.css" type="text/css" rel="stylesheet" media="screen, projection" "/splitpen/static/plugins/twitter-bootstrap-2.0.2.25/less/bootstrap.less.css" type="text/css" media="screen, projection" rel="stylesheet" order="100"

I'm using the fixtaglib flag: grails.plugins.twitterbootstrap.fixtaglib = true

This happens no matter which less resource plugin I use: less-resources:1.3.0.2 OR lesscss-resources:1.3.0

In my page, I request "bootstrap" resource. Instead, if I request "bootstrap-css" and "bootstrap-js" separately, the issue doesn't occur.

mjc-gh commented 12 years ago

Are you using custom bootstrap? I've found that dropping the dependsOn 'bootstrap' call fixes this issue.