groovydev / twitter-bootstrap-grails-plugin

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

Put boostrap assets in a sub folder #94

Open davydotcom opened 10 years ago

davydotcom commented 10 years ago

In asset pipeline the web-app/less and assets/stylesheets folders are flattened into 1 assets folder. This works great and plugins can use namespaced folders to further isolate their assets. It however can be slightly problematice with this plugin since the LESS files are considered root level files. If (in my application) i create a panels.less, this overrides the bootstrap panels.less and I may not have meant to do this. It would be nice if the files were moved into a web-app/less/boostrap/.less style namespace or maybe even web-app/less/bootstrap3/.less so bootstrap 2 could be kept side by side. The same would go for js and css. Not sure if this could be done without too much work but it certainly would help with better asset organization.

davydotcom commented 10 years ago

With this being standard in grails 2.4 any chance we can revisit this?

tcrossland commented 10 years ago

+1 but see also my comment in #96

nwittstruck commented 10 years ago

I haven't tested 2.4M1 yet, but it should be possible to move bootstrap into a separate subfolder. Have you had any success with that?