html - Why won't my simple LESS file compile in Kademi? -
i'm trying use less files on kademi platform compiles server side instead of in browser, have tag in normal.html file:
<link href="/theme/assest/less/main.less" rel="stylesheet" media="all">
is there way find out why it's not compiling?
ok, problem looks main.less has different media type other less files. platform has combined less files compile them, main.less missing parameters defined other .less files
so solve problem can either
- change media type main.less 'all'
- add @import main.less include other less files necessary parameters compile
Comments
Post a Comment