I have a question regarding @import .LESS files. For compilation into CSS I use Prepros (http://prepros.io/).
My current project's structure is:
- all_projects/
---- assets/
------ partials/
-------- partial1.less
-------- partial2.less
------ mixins.less
---- project/
------ project_styles.less
------ variables.less
I need to include mixins.less and all partilas from the assets/partials/ folder into project_styles.less. I tried to @import them in an obviuos way "../assets..." but it didn't work. Here's a code example:
project_styles.less
@import '../assets/mixins.less';
@import 'variables.less';
@import '../assets/partials/partial1.less';
@import '../assets/partials/partial2.less';
I tried several solutions found at Stackowerflow etc (http://goo.gl/yvtpFb) but none on them worked.
Can you please point me into right direction how to achieve this? Thank you in advance!
Best regards, Alex