I'm currently using the Initializr generated Bootstrap enhanced version of the HTML5 Boilerplate which also includes the LESS framework.
Now the style.less is being included by the following line:
<link rel="stylesheet/less" href="${resource(dir: 'less', file: 'style.less') }">
This works, but the line @import('bootstrap/bootstrap.less')
fails, because it cannot find the bootstrap.less
file in /static/less/bootstrap/bootstrap.less
. However, the file is available without the static
part.
Is there something I need to tell Grails to put the not directly in a GSP page referenced files (what kind they may be of) in the right directory, i.e. static
?
I found an issue regarding this problem: http://jira.grails.org/browse/GPRESOURCES-135 - this is telling me, that it has been fixed in version 1.2, I am currently using 2.0.2.
What do I have to do, to make this work?