Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

VS2013 WebEssentials and LESS structure

$
0
0

Hi there,

Is anyone out there using WebEssentials with LESS and @import files? I'm struggling to find a LESS structure that is manageable. For example: I like to have one main main.less that imports variables/mixins/layout/typography etc. The issue I have with this is that in order to recompile main.less when I make a change to an included file (such as variables.less), I have to save variables.less and then also go and save main.less.

I have tried a few experiments creating CSS bundles but I've not found a way of doing that where I can use intellisense in the included LESS files. For example: I can't use variables in mixins.less because they are not included in that file. But if I do include the variables file in mixins.less then the variables file get's included in the css twice.

I hope that makes sense! Anyone have any ideas?

Pete


Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>