web2py does not compile them. You can compile them yourself and the add them to import files. All web2py allows you to do is to include them and than you have JS compile them clientside with less.js http://lesscss.org/ (not included)
On Friday, 20 November 2015 00:52:05 UTC-6, Thee Cherry wrote: > > Hi, > > I try to import (compile) .less files in web2py. > I did find in the web2py book that you can import less files with > response.files > > Did try to import a less file with that in the layout.html > {{response.files.append(URL('static','less/style.less'))}} > > But in the source code from the finish page, i find just a > > <link href="/default/static/less/style.less" rel="stylesheet/less" > type="text/css" /> > > > and not a compiled css. There is the failure? > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.