grails-lesscss-resources
grails-lesscss-resources copied to clipboard
@import seems cannot import the resources located in the plugins directory
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.
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!