grails-lesscss-resources icon indicating copy to clipboard operation
grails-lesscss-resources copied to clipboard

@import seems cannot import the resources located in the plugins directory

Open sammyhk opened this issue 12 years ago • 1 comments

As titled, we tried to use twitter-bootstrap-grails-plugin with this plugin and using @import "bootstrap.less" in our LESS file. When the application startup, it shows WARN "***********/bootstrap.less" not found.

sammyhk avatar Aug 18 '12 08:08 sammyhk

I am running into exactly this issue too.

The lesscss-resources plugin currently (1.3.0.3) cannot find LESS assets provided by another plugin (such as twitter-bootstrap v2.1.1). So if you create a foo.less file with an @import statement referencing bootstrap's .less files, lesscss-resources cannot find those files. So the documented bootstrap customization mechanism simply doesn't work. (I commented to this effect there: https://github.com/groovydev/twitter-bootstrap-grails-plugin/issues/30 )

A fix -- to allow LESS @import statements to properly find .less files provided by a plugin -- would be very helpful.

I'm also eager for others' (working, proven) approaches to grails + lesscss-resources + bootstrap with LESS-based customizations...

Thanks!

cweekly avatar Sep 10 '12 16:09 cweekly