Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sammyhk opened this issue Aug 18, 2012 · 1 comment

Comments

@sammyhk
Copy link

sammyhk commented Aug 18, 2012

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.

@cweekly
Copy link

cweekly commented Sep 10, 2012

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: groovydev/twitter-bootstrap-grails-plugin#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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants