Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Sd 12 posts 33 karma points
    Oct 18, 2012 @ 00:06
    Sd
    0

    @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.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Oct 18, 2012 @ 07:50
    Jan Skovgaard
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft