@import less file inside another less is not working
I have followed this blog post: url to integrate less with Umbraco. Also, while working on my mac, I was using SimpLESS app to compile my less to css which was working successfully. I have uploaded all my less files on the server, with a proper mime type set on the virtual directory. The website doesn't show any file not found or any other error but this url simply shows the content of my less file and doesn't compile as it was doing locally.
The way the blogpost describes it is in a way that the less file is handled by the server, which in my humble opinion is not ideal. I think you should continue using your approach with SimpLESS. We want to be able to see the compiled CSS file not have it done on the fly by the server, right? :)
I suppose you have a directory containing your .less files and then they are compiled into a css directory when you run the app, right? Then you should simply just reference the compiled CSS files in your source code instead.
@import less file inside another less is not working
I have followed this blog post: url to integrate less with Umbraco. Also, while working on my mac, I was using SimpLESS app to compile my less to css which was working successfully. I have uploaded all my less files on the server, with a proper mime type set on the virtual directory. The website doesn't show any file not found or any other error but this url simply shows the content of my less file and doesn't compile as it was doing locally.
Hi Sd
The way the blogpost describes it is in a way that the less file is handled by the server, which in my humble opinion is not ideal. I think you should continue using your approach with SimpLESS. We want to be able to see the compiled CSS file not have it done on the fly by the server, right? :)
I suppose you have a directory containing your .less files and then they are compiled into a css directory when you run the app, right? Then you should simply just reference the compiled CSS files in your source code instead.
Hope this makes sense.
/Jan
is working on a reply...